Dock Property
- Namespace
TXTextControl.Web. MVC. DocumentViewer
- Package
TXTextControl.asWeb. DocumentViewer TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. MVC. DocumentViewer. dll
- Also in
TXTextControl.asWeb. DocumentViewer. Classic TXTextControl.Web. MVC. DocumentViewer. dll
Description
Specifies how to dock the DocumentViewer.
Syntax
public DocumentViewerSettings.DockStyle Dock { get; set; }Public Property Dock As DocumentViewerSettings.DockStyleExamples
The following example configures DocumentViewerSettings.Dock and checks the resulting web document component setting before it is used.
documentViewerSettings.Dock = TXTextControl.Web.MVC.DocumentViewer.DocumentViewerSettings.DockStyle.Window;
var configuredValue = documentViewerSettings.Dock;
Console.WriteLine($"Dock used by Document Viewer Settings: {configuredValue}");documentViewerSettings.Dock = TXTextControl.Web.MVC.DocumentViewer.DocumentViewerSettings.DockStyle.Window
Dim configuredValue = documentViewerSettings.Dock
Console.WriteLine($"Dock used by Document Viewer Settings: {configuredValue}")