IsShown 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 shown. The default value is true.
Syntax
public bool IsShown { get; set; }Public Property IsShown As BooleanExamples
The following example uses Sidebar.IsShown to configure is shown as part of the sidebar workflow. The configured value is checked before the workflow continues.
sidebar.IsShown = true;
if (sidebar.IsShown)
{
Console.WriteLine("Sidebar: Is Shown is enabled.");
}sidebar.IsShown = True
If sidebar.IsShown Then
Console.WriteLine("Sidebar: Is Shown is enabled.")
End IfRemarks
Because of internal usage, it is recommended to use this property instead of Sidebar.Visibility to display the sidebar.