System.Windows.Forms.StatusBarPanel.Text Property

Gets or sets the text of the status bar panel.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue("")]
public string Text { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property represents the text that is displayed when the StatusBarPanel.Style property is set to StatusBarPanelStyle.Text. You can use this property to display information about your application in a System.Windows.Forms.StatusBar control. For example, you can use the StatusBarPanel.Text property to display Help information when the user moves the mouse over a menu or to display the name and location of a file that is opened in an application. To align the text within a System.Windows.Forms.StatusBarPanel, use the StatusBarPanel.Alignment property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0