TX Text Control .NET Server

EditMode Enumeration

Enumeration|Introduced in 22.0
Namespace
TXTextControl.Web
Package
TXTextControl.Web from nuget.org, the private NuGet feed or Text Control Offline Packages
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 EditMode

Members

MemberValueDescription
Edit1The document's text can be edited.
ReadAndSelect2The document's text is read only but can be selected.
ReadOnly3The document's text is read only.
UsePassword2048Not 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}");