xtd 0.2.0
Loading...
Searching...
No Matches

◆ image() [2/2]

status_bar_panel & xtd::forms::status_bar_panel::image ( const xtd::drawing::image value)

Sets the image to display within the status bar panel.

Parameters
valueAn xtd::drawing::image that represents the image to display in the panel.
Returns
This current instance.
Remarks
You can use this property to display an image that represents the state of your application or a process within your application. For example, you can display an image in a xtd::forms::status_bar_panel to indicate whether a file save operation is in progress or complete.
Note
There is no way to independently position an image within the xtd::forms::status_bar_panel. For example, you cannot position an image to the left side of the xtd::forms::status_bar_panel while aligning the text on the right side using the xtd::forms::status_bar_panel::alignment property. The image is always positioned to the left side of the panel's text regardless of how the text is aligned.