DockStyle 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 the manner in which a Web.TextControl is docked. The enumeration contains the following values:
Syntax
public enum DockStylePublic Enum DockStyleMembers
| Member | Value | Description |
|---|---|---|
| Fill | 1 | All the control's edges are docked to the all edges of its container and sized appropriately. |
| None | 0 | The control is not docked. |
| Window | 2 | The 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}");Dim value As TXTextControl.Web.DockStyle = TXTextControl.Web.DockStyle.Fill
Console.WriteLine($"Using Dock Style: {value}")See Also
Web.TextControl.Dock Property.