TX Text Control .NET for WPF

CanEdit Property

Property|Introduced in 25.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

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.");
}

Limitations

Runtime only.

Read only.