Dock Property
- Namespace
TXTextControl.Web. MVC
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
Description
Gets or sets a value how the control is docked to its container or web site.
Syntax
public DockStyle Dock { get; set; }Public Property Dock As 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.