StatusBar Control Overview (Windows forms)
| Points |
The StatusStrip and ToolStripStatusLabel controls can replace the StatusBar and StatusBarPanel controls and add functionality , but still retains the statusbar and StatusBarPanel controls to accommodate backwards compatibility and future use, if you wish. |
Windows Forms StatusBar Controls (Windows Forms) are used as an area on a form, usually at the bottom of a window where applications can display various state information. The StatusBar control can have a status bar panel that displays text or an icon indicating status, or a series of animated icons indicating that a process is working; For example, Microsoft Word indicates that the document is being saved.
Using the StatusBar control
When you scroll to a hyperlink, Internet Explorer uses the status bar to indicate that a page's Url;microsoft word gives you information about the page location, section position, and edit mode, such as overtype and tracked changes; Visual Studio Use the status bar to provide context-sensitive information, such as telling you how to manipulate dockable windows so that they dock or float.
You can display a message in the status bar by setting the ShowPanels property to False (the default) and setting the status bar's Text property to one that you want to appear in the status bar. You can split the status bar into panels to display multiple types of information by setting the ShowPanels property to True and using the StatusBarPanelCollection Add method.