StatusStrip Control Overview

StatusStrip Control Overview

A StatusStrip control displays information about an object being viewed on a Form, the object's components, or contextual information that relates to that object's operation within your application. Typically, a StatusStrip control consists of ToolStripStatusLabel objects, each of which displays text, an icon, or both. The StatusStrip can also contain ToolStripDropDownButton, ToolStripSplitButton, and ToolStripProgressBar controls.

The default StatusStrip has no panels. To add panels to a StatusStrip, use the ToolStripItemCollection.AddRange method.

There is extensive support for handling StatusStrip items and common commands in Visual Studio.

Although StatusStrip replaces and extends the StatusBar control of previous versions, StatusBar is retained for both backward compatibility and future use if you choose.

Important StatusStrip Members

Name

Description

CanOverflow

Gets or sets a value indicating whether the StatusStrip supports overflow functionality.

Stretch

Gets or sets a value indicating whether the StatusStrip stretches from end to end in its ToolStripContainer.

Important StatusStrip Companion Classes

Name

Description

ToolStripStatusLabel

Represents a panel in a StatusStrip control.

ToolStripDropDownButton

Displays an associated ToolStripDropDown from which the user can select a single item.

ToolStripSplitButton

Represents a two-part control that is a standard button and a drop-down menu.

ToolStripProgressBar

Displays the completion state of a process.

Community Additions

ADD
Show:
© 2016 Microsoft