IsPinned Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
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 BooleanExamples
The following example uses Sidebar.IsPinned to configure is pinned as part of the sidebar workflow. The configured value is checked before the workflow continues.
sidebar.IsPinned = true;
if (sidebar.IsPinned)
{
Console.WriteLine("Sidebar: Is Pinned is enabled.");
}sidebar.IsPinned = True
If sidebar.IsPinned Then
Console.WriteLine("Sidebar: Is Pinned is enabled.")
End If