TX Text Control .NET for Windows Forms

SidebarDialogStyle Enumeration

Enumeration|Introduced in 26.0
Namespace
TXTextControl.Windows.Forms
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.

Description

Specifies the requested border and title bar layout of the sidebar dialog.

Syntax

public enum Sidebar.SidebarDialogStyle

Members

MemberValueDescription
Standard0The 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.
StandardSizable1The 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.
Sidebar2The 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).
SidebarSizable3The 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}");