Dock Property
- Namespace
TXTextControl.Web
- Package
- None: the TX Text Control .NET Server setup installs it, for .NET Framework.
- Assembly
TXTextControl.Web. dll
Description
Gets or sets a value how the control is docked to its container or web site.
Syntax
public Web.DockStyle Dock { get; set; }Public Property Dock() As Web.DockStyleExamples
In the current ASP.NET Core integration, Dock is configured through TextControlSettings. The following example sets it while creating the editor configuration.
textControlSettings.Dock = TXTextControl.Web.DockStyle.Fill;
var configuredValue = textControlSettings.Dock;
Console.WriteLine($"Dock used by Text Control Settings: {configuredValue}");textControlSettings.Dock = TXTextControl.Web.DockStyle.Fill
Dim configuredValue = textControlSettings.Dock
Console.WriteLine($"Dock used by Text Control Settings: {configuredValue}")See Also
Web.DockStyle Enumeration.