Gets or sets a value indicating whether the Sidebar is rendered inside another control (property value is set to true) or displayed as dialog. The default value is true.

Syntax

public bool IsPinned { get; set; }
Public Property IsPinned() 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 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