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

Syntax

public EditMode EditMode { get; set; }
Public Property EditMode() As EditMode

Members

Member 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.