StatusBar Class
- Namespace
TXTextControl.WPF
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.WPF. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.WPF. dll
- Inherits
- Control
- Text
Control Tool Bar - Status
Bar
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 : TextControlToolBarPublic Class StatusBar
Inherits TextControlToolBarExamples
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;Dim statusBar As New TXTextControl.WPF.StatusBar()
statusBar.BorderStyle = StatusBarBorderStyle.Fixed3DMembers
Constructors
| Constructor | Description |
|---|---|
| StatusBar | Not described in the reference. public StatusBar(); |
Properties
| Property | Description |
|---|---|
| BorderStyle | Gets or sets the border style of the status bar. |
| ColumnText | Gets or sets the text in the 'Column' area of the status bar. |
| DisplayColors | Gets 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. |
| FontFamily | Gets or sets the font family of the status bar. This is a dependency property. The property value has the type System.Windows.Media.FontFamily. |
| FontSize | Gets or sets the font size of the status bar in device-independent units (1/96th inch). This is a dependency property. |
| FontStyle | Gets 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. |
| FontWeight | Gets 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. |
| LineText | Gets or sets the text in the 'Line' area of the status bar. |
| PageCounterText | Gets or sets the text in the 'Page counter' area of the status bar. |
| PageText | Gets or sets the text in the 'Page' area of the status bar. |
| SectionCounterText | Gets or sets the text in the 'Section counter' area of the status bar. |
| SectionText | Gets or sets the text in the 'Section' area of the status bar. |
| ShowColumn | Specifies whether the status bar shows the column number of the current text input position. |
| ShowKeyStates | Specifies whether the status bar shows the key state of the CAPSLOCK and the NUMLOCK key and the current insertion mode, insert or overwrite. |
| ShowLanguage | Specifies whether the status bar shows the language of the text selection or the text input position. |
| ShowLine | Specifies whether the status bar shows the line number of the current text input position. |
| ShowPage | Specifies whether the status bar shows the page number of the current text input position. |
| ShowPageCounter | Specifies whether the status bar shows the number of pages the document consists of. |
| ShowSection | Specifies whether the status bar shows the section number of the current text input position. |
| ShowSectionCounter | Specifies whether the status bar shows the number of sections the document consists of. |
| ShowZoom | Specifies whether the status bar shows the current zoom factor. |
| ShowZoomTrackBar | Specifies whether the status bar displays a track bar instead of a simple number to show and to set the zooming factor. |
| Text | Gets 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. |