Gets or sets a value indicating whether the Sidebar's close button is shown. The default value is true.
public bool ShowCloseButton { get; set; }
Public Property ShowCloseButton() As Boolean
The following example shows the Sidebar class with its four properties. Here, the Show
TXTextControl.Windows.Forms.Sidebar sidebar = new TXTextControl.Windows.Forms.Sidebar();
sidebar.ShowPinButton = false;
sidebar.IsPinned = true;
sidebar.IsShown = false;
sidebar.ShowCloseButton = false; // here, the ShowCloseButton property is set
Dim sidebar As TXTextControl.Windows.Forms.Sidebar = New TXTextControl.Windows.Forms.Sidebar()
sidebar.ShowPinButton = False
sidebar.IsPinned = True
sidebar.IsShown = false
sidebar.ShowCloseButton = false ' here, the ShowCloseButton property is set