EditMode Enumeration
- Namespace
TXTextControl.Web
- Package
TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb
- Assembly
TXTextControl.Web. DocumentEditor. dll
- Install
dotnet add package TXTextControl.Web
Description
Specifies possible edit modes a Web.TextControl can be in.
Syntax
public enum EditModePublic Enum EditModeMembers
| Member | Value | Description |
|---|---|---|
| Edit | 1 | The document's text can be edited. |
| ReadAndSelect | 2 | The document's text is read only but can be selected. |
| ReadOnly | 3 | The document's text is read only. |
| UsePassword | 2048 | Not described in the reference. |
Examples
The following example selects Edit and retains that choice for the related document-processing operation.
TXTextControl.Web.EditMode value = TXTextControl.Web.EditMode.Edit;
Console.WriteLine($"Using Edit Mode: {value}");Dim value As TXTextControl.Web.EditMode = TXTextControl.Web.EditMode.Edit
Console.WriteLine($"Using Edit Mode: {value}")