TX Text Control .NET for WPF

ShowPinButton Property

Property|Introduced in 26.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

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; }

Examples

The following example uses Sidebar.ShowPinButton to configure show pin button as part of the sidebar workflow. The configured value is checked before the workflow continues.

sidebar.ShowPinButton = true;
if (sidebar.ShowPinButton)
{
    Console.WriteLine("Sidebar: Show Pin Button is enabled.");
}