TX Text Control .NET for Windows Forms

ShowCloseButton 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 a value indicating whether the Sidebar's close button is shown. The default value is true.

Syntax

public bool ShowCloseButton { get; set; }

Examples

The following example uses Sidebar.ShowCloseButton to configure show close button as part of the sidebar workflow. The change is then applied to the active document or user interface.

sidebar.ShowCloseButton = true;
sidebar.Update();