TXTextControl.WPF.TextControl.EditMode Property

Gets or sets a value indicating whether text in the Text Control is read-only, can be selected or is editable.

Syntax

[C#]
public EditMode EditMode { get; set; }
[Visual Basic]
Public Property EditMode() As EditMode
Value Description
Edit The document's text can be edited and formatted without restrictions.
ReadAndSelect The document's text is displayed and text can be selected. Editing and formatting is restricted as specified through the DocumentPermissions property.
ReadOnly The document's text is only displayed, text cannot be selected.
UsePassword A dialog box to enter a password is opened to protect the edit mode. This value can only be combined with EditMode.ReadAndSelect using the bitwise or operator.

See Also