TX Text Control .NET for WPF

ShowZoomTrackBar Property

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

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

Examples

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.");
}