Files
docs-desktop/dotnet-desktop-guide/framework/winforms/controls/statusbar-control-overview-windows-forms.md
T
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

2.5 KiB

title, ms.date, f1_keywords, helpviewer_keywords, ms.assetid
title ms.date f1_keywords helpviewer_keywords ms.assetid
StatusBar Control Overview 03/30/2017
StatusBar
StatusBar control [Windows Forms], about StatusBar control
status bars
b7b9852c-633d-4416-bb2e-94852b989c6c

StatusBar Control Overview (Windows Forms)

Important

The xref:System.Windows.Forms.StatusStrip and xref:System.Windows.Forms.ToolStripStatusLabel controls replace and add functionality to the xref:System.Windows.Forms.StatusBar and xref:System.Windows.Forms.StatusBarPanel controls; however, the xref:System.Windows.Forms.StatusBar and xref:System.Windows.Forms.StatusBarPanel controls are 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. xref:System.Windows.Forms.StatusBar controls can have status bar panels on them that display text or 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.

Using the StatusBar Control

Internet Explorer uses a status bar to indicate the URL of a page when the mouse rolls over the hyperlink; Microsoft Word gives you information on page location, section location, and editing modes such as overtype and revision tracking; and Visual Studio uses the status bar to give context-sensitive information, such as telling you how to manipulate dockable windows as either docked or floating.

You can display a single message on the status bar by setting the xref:System.Windows.Forms.StatusBar.ShowPanels%2A property to false (the default) and setting the xref:System.Windows.Forms.StatusBar.Text%2A property of the status bar to the text you want to appear in the status bar. You can divide the status bar into panels to display more than one type of information by setting the xref:System.Windows.Forms.StatusBar.ShowPanels%2A property to true and using the xref:System.Windows.Forms.StatusBar.StatusBarPanelCollection.Add%2A method of xref:System.Windows.Forms.StatusBar.StatusBarPanelCollection.

See also