TX Text Control .NET for WPF

ShowZoom Property

Property|Introduced in 16.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 shows the current zoom factor.

Syntax

public bool ShowZoom { get; set; }

Examples

The following example uses StatusBar.ShowZoom to configure show zoom as part of the status bar workflow. The configured value is checked before the workflow continues.

statusBar.ShowZoom = true;
if (statusBar.ShowZoom)
{
    Console.WriteLine("Status Bar: Show Zoom is enabled.");
}