Gets or sets a value indicating whether the Sidebar is shown. The default value is true.

Syntax

public bool IsShown { get; set; }

Examples

The following example shows the 'Sidebar' class with its three properties, namely 'ShowPinButton', 'IsPinned' and 'IsShown'. The 'IsShown' property has been set to 'false', so that the sidebar is not shown.

TXTextControl.Windows.Forms.Sidebar sidebar = new TXTextControl.Windows.Forms.Sidebar();
sidebar.ShowPinButton = false;
sidebar.IsPinned = true;
sidebar.IsShown = false; // here, the IsShown property is set

Remarks

Because of internal usage, it is recommended to use this property instead of Sidebar.Visible to display the sidebar.