TX Text Control .NET for WPF

DialogStyle Property

Property|Introduced in 26.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

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}");