ShowCloseButton 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's close button is shown. The default value is true.
Syntax
public bool ShowCloseButton { get; set; }Public Property ShowCloseButton As BooleanExamples
The following example uses Sidebar.ShowCloseButton to configure show close button as part of the sidebar workflow. The configured value is checked before the workflow continues.
sidebar.ShowCloseButton = true;
if (sidebar.ShowCloseButton)
{
Console.WriteLine("Sidebar: Show Close Button is enabled.");
}sidebar.ShowCloseButton = True
If sidebar.ShowCloseButton Then
Console.WriteLine("Sidebar: Show Close Button is enabled.")
End If