TX Text Control .NET for WPF

StatusBar Class

Class|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.dll from the setup.
Inherits
  1. Control
  2. TextControlToolBar
  3. StatusBar

Description

The WPF.StatusBar class represents a tool bar which can be used to show the position of the curent text input position and other status information of a WPF.TextControl. It can be connected with a WPF.TextControl through the WPF.TextControl.StatusBar property.

Syntax

public class StatusBar : TextControlToolBar

Examples

The following example creates a Status Bar instance and configures its border style setting for a document workflow.

TXTextControl.WPF.StatusBar statusBar = new();
statusBar.BorderStyle = StatusBarBorderStyle.Fixed3D;

Members

Constructors

ConstructorDescription
StatusBarNot described in the reference. public StatusBar();

Properties

PropertyDescription
BorderStyleGets or sets the border style of the status bar.
ColumnTextGets or sets the text in the 'Column' area of the status bar.
DisplayColorsGets or sets the colors of the status bar. These colors are only used when the BorderStyle property has been set to ColorScheme. The property value is an object of the type WPF.StatusBarColors.
FontFamilyGets or sets the font family of the status bar. This is a dependency property. The property value has the type System.Windows.Media.FontFamily.
FontSizeGets or sets the font size of the status bar in device-independent units (1/96th inch). This is a dependency property.
FontStyleGets or sets the font style of the status bar. This is a dependency property. The property value has the type System.Windows.FontStyle. The default value is FontStyles.Normal.
FontWeightGets or sets the weight or thickness of the status bar's font. This is a dependency property. The property value has the type System.Windows.FontWeight. The default value is FontWeights.Normal.
LineTextGets or sets the text in the 'Line' area of the status bar.
PageCounterTextGets or sets the text in the 'Page counter' area of the status bar.
PageTextGets or sets the text in the 'Page' area of the status bar.
SectionCounterTextGets or sets the text in the 'Section counter' area of the status bar.
SectionTextGets or sets the text in the 'Section' area of the status bar.
ShowColumnSpecifies whether the status bar shows the column number of the current text input position.
ShowKeyStatesSpecifies whether the status bar shows the key state of the CAPSLOCK and the NUMLOCK key and the current insertion mode, insert or overwrite.
ShowLanguageSpecifies whether the status bar shows the language of the text selection or the text input position.
ShowLineSpecifies whether the status bar shows the line number of the current text input position.
ShowPageSpecifies whether the status bar shows the page number of the current text input position.
ShowPageCounterSpecifies whether the status bar shows the number of pages the document consists of.
ShowSectionSpecifies whether the status bar shows the section number of the current text input position.
ShowSectionCounterSpecifies whether the status bar shows the number of sections the document consists of.
ShowZoomSpecifies whether the status bar shows the current zoom factor.
ShowZoomTrackBarSpecifies whether the status bar displays a track bar instead of a simple number to show and to set the zooming factor.
TextGets or sets the text of the status bar. When a text is set, the status bar shows this text until a status of a connected WPF.TextControl changes.