TX Text Control .NET for WPF

SidebarDialogStyle Enumeration

Enumeration|Introduced in 26.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.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.Window where the WindowStyle is set to System.Windows.WindowStyle.SingleBorderWindow and the ResizeMode to System.Windows.ResizeMode.NoResize.
StandardSizable1The dialog's border and title bar equal to the style of a System.Windows.Window where the WindowStyle is set to System.Windows.WindowStyle.SingleBorderWindow and the ResizeMode to System.Windows.ResizeMode.CanResize.
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.WindowStyle.None and System.Windows.ResizeMode.NoResize).
SidebarSizable3The dialog only displays the sidebar. The dialog is sizable (equivalent to System.Windows.ResizeMode.CanResizeWithGrip), but neither a specific dialog border nor a title bar are set (System.Windows.WindowStyle.None).

Examples

The following example selects the Standard value from the Sidebar Dialog Style enumeration and uses it as a documented workflow choice.

TXTextControl.WPF.Sidebar.SidebarDialogStyle value = TXTextControl.WPF.Sidebar.SidebarDialogStyle.Standard;
Console.WriteLine($"Using Sidebar Dialog Style: {value}");