Breyta

Deila með


StatusBarPanel.Icon Property

Definition

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

public:
 property System::Drawing::Icon ^ Icon { System::Drawing::Icon ^ get(); void set(System::Drawing::Icon ^ value); };
public System.Drawing.Icon Icon { get; set; }
member this.Icon : System.Drawing.Icon with get, set
Public Property Icon As Icon

Property Value

An Icon that represents the icon to display in the panel.

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 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 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.

Applies to

See also