System.Windows.Forms.StatusBarPanel.Icon Property

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

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(null)]
public System.Drawing.Icon Icon { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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 System.Windows.Forms.StatusBarPanel to indicate whether a file save operation is in progress or complete.

Note:

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0