Redigera

Dela via


StatusBar Control (Windows Forms)

Note

The ToolStripStatusLabel control replaces and adds functionality to the StatusBar control; however, the StatusBar control is retained for both backward compatibility and future use, if you choose.

The Windows Forms StatusBar control is used on forms as an area, usually displayed at the bottom of a window, in which an application can display various kinds of status information. StatusBar controls can have status-bar panels on them that display icons to indicate state, or a series of icons in an animation that indicate a process is working; for example, Microsoft Word indicating that the document is being saved.

In This Section

StatusBar Control Overview
Introduces the general concepts of the StatusBar control, which enables users to see relevant information for the control that has focus.

How to: Add Panels to a StatusBar Control
Explains how to add programmable panels to the StatusBar control.

How to: Determine Which Panel in the Windows Forms StatusBar Control Was Clicked
Explains how to handle Click events raised from the StatusBar control.

How to: Set the Size of Status-Bar Panels
Gives details on the properties that control the width and resize behavior of status-bar panels at run time.

Walkthrough: Updating Status Bar Information at Run Time
Explains how to programmatically control the data within status-bar panels.

Reference

StatusBar
Provides reference information on the class and its members.

ToolStripStatusLabel
Replaces and adds functionality to the StatusBar control.

Controls to Use on Windows Forms
Provides a complete list of Windows Forms controls, with links to information on their use.