Gets or sets a value indicating whether the Sidebar's pin button is shown. The default value is true.

Syntax

public bool ShowPinButton { get; set; }
Public Property ShowPinButton() As Boolean

Examples

The following example shows the 'Sidebar' class with its two properties, namely 'ShowPinButton' and 'IsPinned'. The 'ShowPinButton' property has been set to 'false', so that the pin button of the sidebar is not shown. Further, the 'IsPinned' property has been to 'true' so that sidebar could be rendered inside another control.

TXTextControl.Windows.Forms.Sidebar sidebar = new TXTextControl.Windows.Forms.Sidebar();
sidebar.ShowPinButton = false;
sidebar.IsPinned = true;
Dim sidebar As TXTextControl.Windows.Forms.Sidebar = New TXTextControl.Windows.Forms.Sidebar()
sidebar.ShowPinButton = False
sidebar.IsPinned = True