The StatusBar class represents a Windows Forms tool bar which can be used to show the position of the curent text input position and other status information of a Windows Forms TextControl. It is inherited from the System.Windows.Forms.Control class. The following describes only the properties, methods and events defined through the StatusBar class. For a list of properties, methods and events inherited from the System.Windows.Forms.Control class see the .NET Framework reference.

Syntax

public class StatusBar : Control
Public Class StatusBar
  Inherits Control

Methods

Method Description
ResetDisplayColors Resets all display colors of a status bar to their system dependent default values.

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.
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.