ShowZoomTrackBar Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Specifies whether the status bar displays a track bar instead of a simple number to show and to set the zooming factor.
Syntax
public bool ShowZoomTrackBar { get; set; }Public Property ShowZoomTrackBar As BooleanExamples
The following example uses StatusBar.ShowZoomTrackBar to configure show zoom track bar as part of the status bar workflow. The configured value is checked before the workflow continues.
statusBar.ShowZoomTrackBar = true;
if (statusBar.ShowZoomTrackBar)
{
Console.WriteLine("Status Bar: Show Zoom Track Bar is enabled.");
}statusBar.ShowZoomTrackBar = True
If statusBar.ShowZoomTrackBar Then
Console.WriteLine("Status Bar: Show Zoom Track Bar is enabled.")
End If