TXTextControl.ServerVisualization.StatusBarViewGenerator Class

An instance of the StatusBarViewGenerator class can be used to visualize a status bar through an image. It manages a ServerVisualization.UserInput and a ServerVisualization.View object. These objects can be used to inform the generator about user input and to get a generated view depending on the input. A StatusBarViewGenerator object can be connected with a TextViewGenerator object to show the position of the curent text input position and other status information. The StatusBarViewGenerator class is inherited from the System.ComponentModel.Component class. The following describes only the properties, methods and events defined through the StatusBarViewGenerator class. For a list of properties, methods and events inherited from the System.ComponentModel.Component class see the .NET Framework reference.

Introduced: 21.0.

Syntax

[C#]
public class StatusBarViewGenerator : System.ComponentModel.Component
[Visual Basic]
Public Class StatusBarViewGenerator
  Inherits System.ComponentModel.Component

Constructors

Constructor Description
StatusBarViewGenerator Initializes a new instance of the StatusBarViewGenerator class.

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.
Font Gets or sets the font which is used to display text.
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.
UserInput Gets the UserInput object, which can be used to inform the StatusBarViewGenerator about user input.
View Gets the View object, which informs about view changes and provides an image of the StatusBarViewGenerator's current state.

Methods

Method Description
Create Initializes the resources of a newly instantiated object.
ResetDisplayColors Resets all display colors of a status bar to their system dependent default values.

See Also