Export (0) Print
Expand All

StatusBarPanel.Icon Property

Gets or sets the icon to display within the status bar panel.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public Icon Icon { get; set; }

Property Value

Type: System.Drawing.Icon
An Icon that represents the icon to display in the panel.

You can use this property to display an icon that represents the state of your application or a process within your application. For example, you can display an icon in a StatusBarPanel to indicate whether a file save operation is in progress or complete.

NoteNote

There is no way to independently position an icon within the StatusBarPanel. For example, you cannot position an icon to the left side of the StatusBarPanel while aligning the text on the right side using the Alignment property. The icon is always positioned to the left side of the panel's text regardless of how the text is aligned.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft