System.Windows.Forms.StatusBar.Panels Property

Gets the collection of System.Windows.Forms.StatusBar panels contained within the control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
[System.ComponentModel.Localizable(true)]
[System.ComponentModel.MergableProperty(false)]
public StatusBar.StatusBarPanelCollection Panels { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Windows.Forms.StatusBar control can display a number of panels to provide information to the user of your application. For example, a panel could display the current time or the progress of a file download. Each panel displayed by the System.Windows.Forms.StatusBar control is an instance of the System.Windows.Forms.StatusBarPanel class. The StatusBar.Panels property enables you to obtain a reference to the collection of System.Windows.Forms.StatusBarPanel objects that are currently stored in the System.Windows.Forms.StatusBar control. With this reference, you can add panels, remove panels, access a specific panel within the collection, and obtain a count of the panels in the System.Windows.Forms.StatusBar control. For more information on the tasks that can be performed with the panel collection, see the System.Windows.Forms.StatusBar.StatusBarPanelCollection class reference topics.

Requirements

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