System.Windows.Forms.StatusBar.ShowPanels Property

Gets or sets a value indicating whether any panels that have been added to the control are displayed.

Syntax

[System.ComponentModel.DefaultValue(false)]
public bool ShowPanels { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, the System.Windows.Forms.StatusBar control displays the value of its Control.Text property without any panels. When ShowPanels is set to true, any System.Windows.Forms.StatusBarPanel objects specified in the System.Windows.Forms.StatusBar control are displayed. No panels are initially created when you create an instance of the System.Windows.Forms.StatusBar class. You can add panels to a System.Windows.Forms.StatusBar control by using the System.Windows.Forms.StatusBar.StatusBarPanelCollection.Add(string) method of the System.Windows.Forms.StatusBar.StatusBarPanelCollection class. This collection class can be accessed through the StatusBar.Panels property of System.Windows.Forms.StatusBar.

Requirements

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