CanEdit Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Informs whether the document's text and/or formatting attributes can be changed. The property's value depends on the DocumentPermissions.ReadOnly property and the currently set edit mode.
Syntax
public bool CanEdit { get; }Public ReadOnly Property CanEdit As BooleanExamples
The following example checks the can edit state before recording the object's current status.
if (textControl.CanEdit)
{
Console.WriteLine("Text Control is ready for this operation.");
}If textControl.CanEdit Then
Console.WriteLine("Text Control is ready for this operation.")
End IfLimitations
Runtime only.
Read only.