SidebarDialogStyle Enumeration
- Namespace
TXTextControl.Windows. Forms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
Description
Specifies the requested border and title bar layout of the sidebar dialog.
Syntax
public enum Sidebar.SidebarDialogStylePublic Enum Sidebar.SidebarDialogStyleMembers
| Member | Value | Description |
|---|---|---|
| Standard | 0 | The dialog's border and title bar equal to the style of a System.Windows.Forms.Form where the FormBorderStyle is set to System.Windows.Forms.FormBorderStyle.FixedDialog. |
| StandardSizable | 1 | The dialog's border and title bar equal to the style of a System.Windows.Forms.Form where the FormBorderStyle is set to System.Windows.Forms.FormBorderStyle.Sizable. |
| Sidebar | 2 | The dialog only displays the sidebar. The dialog is not sizable and neither a specific dialog border nor a title bar are set (equivalent to System.Windows.Forms.FormBorderStyle.FixedSingle). |
| SidebarSizable | 3 | The dialog only displays the sidebar. The dialog is sizable (equivalent to System.Windows.Forms.FormBorderStyle.Sizable), but neither a specific dialog border nor a title bar are set. |
Examples
The following example selects the Standard value from the Sidebar Dialog Style enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle value = TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle.Standard;
Console.WriteLine($"Using Sidebar Dialog Style: {value}");Dim value As TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle = TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle.Standard
Console.WriteLine($"Using Sidebar Dialog Style: {value}")