xtd
0.2.0
Loading...
Searching...
No Matches
◆
draw_item
xtd::event
<
status_bar
,
xtd::forms::status_bar_draw_item_event_handler
> xtd::forms::status_bar::draw_item
Occurs when a visual aspect of an owner-drawn status bar control changes.
Remarks
You can use this event to perform drawing operations in an owner-drawn
xtd::forms::status_bar
control. For example, if you display an owner-drawn
xtd::forms::status_bar_panel
that displays a progress bar, you can use this event to perform the drawing of the progress bar on the panel. The data provided to the event through the
xtd::forms::status_bar_draw_item_event_args
object passed as a parameter to the event handler enables you to determine the panel that needs to be drawn and the
xtd::drawing::graphics
to use to draw to the panel. This event is only raised when the
xtd::forms::status_bar_panel::style
property of a
xtd::forms::status_bar_panel
in a
xtd::forms::status_bar
control is set to
xtd::forms::status_bar_panel_style::owner_draw
.
For more information about handling events, see
Handling and Raising Events
.
xtd
forms
status_bar
Generated on Sat Sep 14 2024 21:25:28 for xtd by
Gammasoft
. All rights reserved.