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

◆ draw_item_event_handler

using xtd::forms::draw_item_event_handler = typedef delegate<void(object& sender, const draw_item_event_args& e)>

Represents the method that will handle the.

draw_item 

event of a xtd::forms::combo_box, xtd::forms::list_box, xtd::forms::menu_item, or xtd::forms::tab_control control.

Parameters
senderThe source of the event.
eA xtd::forms::draw_item_event_args that contains the event data.
Header
#include <xtd/forms/draw_item_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a xtd::forms::draw_item_event_args delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.
For more information about handling events, see Handling and Raising Events.