TX Text Control .NET Server

DockStyle Enumeration

Enumeration
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 the manner in which a Web.TextControl is docked. The enumeration contains the following values:

Syntax

public enum DockStyle

Members

MemberValueDescription
Fill1All the control's edges are docked to the all edges of its container and sized appropriately.
None0The control is not docked.
Window2The control fills the browser window.

Examples

The following example selects Fill and retains that choice for the related document-processing operation.

TXTextControl.Web.DockStyle value = TXTextControl.Web.DockStyle.Fill;
Console.WriteLine($"Using Dock Style: {value}");

See Also

Web.TextControl.Dock Property.