DialogStyle Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the requested border and title bar layout of the sidebar dialog. The default value is SidebarDialogStyle.Standard.
Syntax
public Sidebar.SidebarDialogStyle DialogStyle { get; set; }Public Property DialogStyle As Sidebar.SidebarDialogStyleExamples
The following example uses Sidebar.DialogStyle to configure dialog style as part of the sidebar workflow. The configured value is checked before the workflow continues.
sidebar.DialogStyle = TXTextControl.WPF.Sidebar.SidebarDialogStyle.Standard;
Console.WriteLine($"Dialog Style used by Sidebar: {sidebar.DialogStyle}");sidebar.DialogStyle = TXTextControl.WPF.Sidebar.SidebarDialogStyle.Standard
Console.WriteLine($"Dialog Style used by Sidebar: {sidebar.DialogStyle}")