TX Text Control .NET for Windows Forms

DialogStyle Property

Property|Introduced in 26.0
Namespace
TXTextControl.Windows.Forms
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.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 change is then applied to the active document or user interface.

sidebar.DialogStyle = TXTextControl.Windows.Forms.Sidebar.SidebarDialogStyle.Standard;
sidebar.Update();