xtd 0.2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
events

Definition

events are event args and event handler needed to response to window messages.

Classes

class  xtd::console_cancel_event_args
 Provides data for the console::cancel_key_press event. This class cannot be inherited. More...
 
class  xtd::diagnostics::data_received_event_args
 Provides data for the xtd::diagnostics::process::output_data_received and xtd::diagnostics::process::error_data_received events. More...
 
class  xtd::diagnostics::process::error_data_received_event
 Represents a process error data received event. More...
 
class  xtd::diagnostics::process::exit_event
 Represents a process exit event. More...
 
class  xtd::diagnostics::process::output_data_received_event
 Represents a process output data received event. More...
 
class  xtd::event_args
 Represents the base class for classes that contain event data, and provides a value to use for events that do not include event data. More...
 
class  xtd::program_exit_event_args
 Provides data for the environment program exit event. This class cannot be inherited. More...
 
class  xtd::signal_cancel_event_args
 Provides data for the environment signal event. This class cannot be inherited. More...
 
class  xtd::timers::elapsed_event_args
 Provides data for the xtd::timers::timer::elapsed event. More...
 
class  xtd::forms::animation_updated_event_args
 Provides data for the animation update event. More...
 
class  xtd::forms::cancel_event_args
 Provides data for a cancelable event. More...
 
class  xtd::forms::color_picker_event_args
 Provides data for the xtd::forms::color_picker::color_picker_changed event. More...
 
class  xtd::forms::control_event_args
 Provides data for the xtd::forms::control::control_added and xtd::forms::control::control_removed events. More...
 
class  xtd::forms::date_range_event_args
 Provides data for the xtd::forms::month_calendar::date_changed or xtd::forms::month_calendar::date_selected events of the xtd::forms::month_calendar control. More...
 
class  xtd::forms::dialog_closed_event_args
 Provides data for a dialog closed event. More...
 
class  xtd::forms::do_work_event_args
 Provides data for the xtd::forms::background_worker::do_work event handler. More...
 
class  xtd::forms::draw_item_event_args
 Provides data for the. More...
 
class  xtd::forms::find_event_args
 Provides data for the xtd::forms::find_dialog::find_next and xtd::forms::replace_dialog::find_next events. More...
 
class  xtd::forms::font_picker_event_args
 Provides data for the xtd::forms::font_picker::font_picker_changed events. More...
 
class  xtd::forms::form_closed_event_args
 Provides data for the form_closed event. More...
 
class  xtd::forms::form_closing_event_args
 Provides data for the form_closing event. More...
 
class  xtd::forms::help_event_args
 Provides data for the xtd::forms::control::control_added and xtd::forms::control::control_removed events. More...
 
class  xtd::forms::item_check_event_args
 Provides data for the item_check event of the checked_list_box and list_view controls. More...
 
class  xtd::forms::key_event_args
 Provides data for the xtd::forms::control::key_down or xtd::forms::control::key_up event. More...
 
class  xtd::forms::key_press_event_args
 Provides data for the xtd::forms::control::key_press event. More...
 
class  xtd::forms::link_label_clicked_event_args
 Represents a Windows label control that can display hyperlinks. More...
 
class  xtd::forms::mouse_event_args
 Provides data for the xtd::forms::control::mouse_up, xtd::forms::control::mouse_down, and xtd::forms::control::mouse_move events. More...
 
class  xtd::forms::paint_event_args
 Provides data for the xtd::forms::control::paint event. More...
 
class  xtd::forms::progress_changed_event_args
 Provides data for the xtd::forms::background_worker::progress_changed event handler. More...
 
class  xtd::forms::replace_event_args
 Provides data for the xtd::forms::replace_dialog::replace and xtd::forms::replace_dialog::replace_all events. More...
 
class  xtd::forms::run_worker_completed_event_args
 Provides data for the xtd::forms::background_worker::run_worker_completed event handler. More...
 
class  xtd::forms::status_bar_draw_item_event_args
 Provides data for the xtd::forms::status_bar::draw_item event. More...
 
class  xtd::forms::status_bar_panel_click_event_args
 Provides data for the xtd::forms::tool_bar::button_click event. More...
 
class  xtd::forms::tool_bar_button_click_event_args
 Provides data for the xtd::forms::tool_bar::button_click event. More...
 
class  xtd::tunit::class_event_args
 Provides data for the xtd::tunit::class_test events. More...
 
class  xtd::tunit::test_event_args
 Provides data for the xtd::tunit::test events. More...
 
class  xtd::tunit::tunit_event_args
 tunit_event_args is the base class for classes containing event data. More...
 

Typedefs

using xtd::console_cancel_event_handler = xtd::delegate< void(console_cancel_event_args &e)>
 Represents the method that will handle the cancel_key_press event of a xtd::console.
 
using xtd::diagnostics::data_received_event_handler = xtd::delegate< void(xtd::object &sender, const xtd::diagnostics::data_received_event_args &e)>
 Represents the method that will handle the xtd::diagnostics::process::output_data_received and xtd::diagnostics::process::error_data_received event of a Process.
 
using xtd::event_handler = generic_event_handler< const xtd::event_args & >
 Represents the method that will handle an event that has no event data.
 
template<class event_args_t >
using xtd::generic_event_handler = xtd::delegate< void(xtd::object &sender, event_args_t e)>
 Represents the method that will handle an event when the event provides data.
 
using xtd::program_exit_event_handler = xtd::delegate< void(const program_exit_event_args &)>
 Represents the method that will handle the program exit events of a xtd::environment.
 
using xtd::signal_cancel_event_handler = xtd::delegate< void(signal_cancel_event_args &)>
 Represents the method that will handle the signal events of a xtd::environment.
 
using xtd::timers::elapsed_event_handler = xtd::delegate< void(xtd::object &sender, const elapsed_event_args &e)>
 Represents the method that will handle the signal events of a xtd::environment.
 
using xtd::forms::animation_updated_event_handler = xtd::delegate< void(xtd::object &sender, const xtd::forms::animation_updated_event_args &e)>
 Represents the method that will handle the update of xtd::forms::animation.
 
using xtd::forms::cancel_event_handler = xtd::delegate< void(object &sender, cancel_event_args &e)>
 Represents the method that handles a cancelable event.
 
using xtd::forms::color_picker_event_handler = xtd::delegate< void(object &sender, const color_picker_event_args &e)>
 Represents the method that will handle the xtd::forms::color_picker::color_changeds of the xtd::forms::color_picker class.
 
using xtd::forms::control_event_handler = xtd::delegate< void(object &sender, const control_event_args &e)>
 Represents the method that will handle the xtd::forms::control::control_added and xtd::forms::control::control_removed events of the control class.
 
using xtd::forms::date_range_event_handler = xtd::delegate< void(object &sender, const date_range_event_args &e)>
 Represents the method that will handle the xtd::forms::month_calendar::date_changed and xtd::forms::month_calendar::date_selected events of the xtd::forms::month_calendar class.
 
using xtd::forms::dialog_closed_event_handler = xtd::delegate< void(object &sender, const dialog_closed_event_args &e)>
 Provides handler for a dialog closed event.
 
using xtd::forms::do_work_event_handler = xtd::delegate< void(object &sender, do_work_event_args &e)>
 Represents the method that will handle the xtd::forms::background_worker::do_work event. This class cannot be inherited.
 
using xtd::forms::draw_item_event_handler = xtd::delegate< void(object &sender, const draw_item_event_args &e)>
 Represents the method that will handle the.
 
using xtd::forms::find_event_handler = xtd::delegate< void(object &sender, const find_event_args &e)>
 Represents the method that will handle the xtd::forms::find_dialog::find_next event of the xtd::forms::find_dialog and the xtd::forms::replace_dialog::find_next event of the xtd::forms::replace_dialog.
 
using xtd::forms::font_picker_event_handler = xtd::delegate< void(object &sender, const font_picker_event_args &e)>
 Represents the method that will handle the xtd::forms::font_picker::color_changeds of the xtd::forms::font_picker class.
 
using xtd::forms::form_closed_event_handler = xtd::delegate< void(object &sender, const form_closed_event_args &e)>
 Represents the method that handles a form_closed event.
 
using xtd::forms::form_closing_event_handler = xtd::delegate< void(object &sender, form_closing_event_args &e)>
 Represents the method that handles a form_closing event.
 
using xtd::forms::help_event_handler = xtd::delegate< void(object &sender, help_event_args &e)>
 Represents the method that will handle the xtd::forms::control::help_requested event of a control.
 
using xtd::forms::item_check_event_handler = xtd::delegate< void(object &sender, item_check_event_args &e)>
 Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control.
 
using xtd::forms::key_event_handler = xtd::delegate< void(object &sender, key_event_args &e)>
 Represents the method that will handle the xtd::forms::control::key_up or xtd::forms::control::key_down event of a control.
 
using xtd::forms::key_press_event_handler = xtd::delegate< void(object &sender, key_press_event_args &e)>
 Represents the method that will handle the xtd::forms::control::key_press event of a control.
 
using xtd::forms::link_label_clicked_event_handler = xtd::delegate< void(object &sender, link_label_clicked_event_args &e)>
 Represents the method that will handle the xtd::forms::link_label::link_clicked event of a xtd::forms::link_label.
 
using xtd::forms::mouse_event_handler = xtd::delegate< void(object &sender, const mouse_event_args &e)>
 Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form, control, or other component.
 
using xtd::forms::paint_event_handler = xtd::delegate< void(object &sender, paint_event_args &e)>
 Represents the method that will handle the xtd::forms::control::paint event of a control.
 
using xtd::forms::progress_changed_event_handler = xtd::delegate< void(object &sender, const progress_changed_event_args &e)>
 Represents the method that will handle the xtd::forms::background_worker::progress_changed event. This class cannot be inherited.
 
using xtd::forms::replace_event_handler = xtd::delegate< void(object &sender, const replace_event_args &e)>
 Represents the method that will handle the xtd::forms::replace_dialog::replace event and the xtd::forms::replace_dialog::replace_all event of the xtd::forms::replace_dialog.
 
using xtd::forms::run_worker_completed_event_handler = xtd::delegate< void(object &sender, const run_worker_completed_event_args &e)>
 Represents the method that will handle the xtd::forms::background_worker::run_worker_completed event. This class cannot be inherited.
 
using xtd::forms::status_bar_draw_item_event_handler = xtd::delegate< void(object &sender, const status_bar_draw_item_event_args &e)>
 Represents the method that will handle the xtd::forms::status_bar::draw_item event of a xtd::forms::status_bar.
 
using xtd::forms::status_bar_panel_click_event_handler = xtd::delegate< void(object &sender, const status_bar_panel_click_event_args &e)>
 Represents the method that will handle the xtd::forms::tool_bar::button_click event of a xtd::forms::tool_bar.
 
using xtd::forms::tool_bar_button_click_event_handler = xtd::delegate< void(object &sender, const tool_bar_button_click_event_args &e)>
 Represents the method that will handle the xtd::forms::tool_bar::button_click event of a xtd::forms::tool_bar.
 

Typedef Documentation

◆ console_cancel_event_handler

using xtd::console_cancel_event_handler = typedef xtd::delegate<void(console_cancel_event_args& e)>

#include <xtd.core/include/xtd/console_cancel_event_handler.hpp>

Represents the method that will handle the cancel_key_press event of a xtd::console.

Provides data for the console::cancel_key_press event. This class cannot be inherited.
Definition console_cancel_event_args.hpp:22
xtd::delegate< void(console_cancel_event_args &e)> console_cancel_event_handler
Represents the method that will handle the cancel_key_press event of a xtd::console.
Definition console_cancel_event_handler.hpp:24
@ e
The E key.
Parameters
eA xtd::console_cancel_event_args object that contains the event data.
Header
#include <xtd/console_cancel_event_handler>
Namespace
xtd
Library
xtd.core

◆ data_received_event_handler

#include <xtd.core/include/xtd/diagnostics/data_received_event_handler.hpp>

Represents the method that will handle the xtd::diagnostics::process::output_data_received and xtd::diagnostics::process::error_data_received event of a Process.

Provides data for the xtd::diagnostics::process::output_data_received and xtd::diagnostics::process::...
Definition data_received_event_args.hpp:28
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:43
xtd::delegate< void(xtd::object &sender, const xtd::diagnostics::data_received_event_args &e)> data_received_event_handler
Represents the method that will handle the xtd::diagnostics::process::output_data_received and xtd::d...
Definition data_received_event_handler.hpp:27
Parameters
senderThe source of the event.
eA xtd::diagnostics::process::data_received_event_args that contains the event data.
Header
#include <xtd/diagnostics/data_received_event_handler>
Namespace
xtd::diagnostics
Library
xtd.core

◆ event_handler

#include <xtd.core/include/xtd/event_handler.hpp>

Represents the method that will handle an event that has no event data.

using event_handler = xtd::delegate<void(xtd::object& sender, const xtd::event_args& e)>;
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
generic_event_handler< const xtd::event_args & > event_handler
Represents the method that will handle an event that has no event data.
Definition event_handler.hpp:24
Parameters
senderThe source of the event.
eAn object that contains no event data.
Header
#include <xtd/event_handler>
Namespace
xtd
Library
xtd.core

◆ generic_event_handler

template<class event_args_t >
using xtd::generic_event_handler = typedef xtd::delegate<void(xtd::object& sender, event_args_t e)>

#include <xtd.core/include/xtd/generic_event_handler.hpp>

Represents the method that will handle an event when the event provides data.

template<class event_args_t = const xtd::event_args&>
using generic_event_handler = xtd::delegate<void(xtd::object& sender, event_args_t e)>;
xtd::delegate< void(xtd::object &sender, event_args_t e)> generic_event_handler
Represents the method that will handle an event when the event provides data.
Definition generic_event_handler.hpp:30
Template Parameters
event_args_tThe type of the event data generated by the event.
Parameters
senderThe source of the event.
eAn object that contains the event data.
Header
#include <xtd/generic_event_handler>
Namespace
xtd
Library
xtd.core

◆ program_exit_event_handler

using xtd::program_exit_event_handler = typedef xtd::delegate<void(const program_exit_event_args&)>

#include <xtd.core/include/xtd/program_exit_event_handler.hpp>

Represents the method that will handle the program exit events of a xtd::environment.

using program_exit_event_handler = xtd::delegate<void(const program_exit_event_args&)>;
Provides data for the environment program exit event. This class cannot be inherited.
Definition program_exit_event_args.hpp:16
xtd::delegate< void(const program_exit_event_args &)> program_exit_event_handler
Represents the method that will handle the program exit events of a xtd::environment.
Definition program_exit_event_handler.hpp:24
Parameters
eA xtd::program_exit_event_args object that contains the exit data.
Header
#include <xtd/program_exit_event_handler>
Namespace
xtd
Library
xtd.core

◆ signal_cancel_event_handler

using xtd::signal_cancel_event_handler = typedef xtd::delegate<void(signal_cancel_event_args&)>

#include <xtd.core/include/xtd/signal_cancel_event_handler.hpp>

Represents the method that will handle the signal events of a xtd::environment.

Provides data for the environment signal event. This class cannot be inherited.
Definition signal_cancel_event_args.hpp:18
xtd::delegate< void(signal_cancel_event_args &)> signal_cancel_event_handler
Represents the method that will handle the signal events of a xtd::environment.
Definition signal_cancel_event_handler.hpp:24
Parameters
eA xtd::signal_cancel_event_args object that contains the event data.
Header
#include <xtd/signal_cancel_event_handler>
Namespace
xtd
Library
xtd.core

◆ elapsed_event_handler

using xtd::timers::elapsed_event_handler = typedef xtd::delegate<void(xtd::object& sender, const elapsed_event_args& e)>

#include <xtd.core/include/xtd/timers/elapsed_event_handler.hpp>

Represents the method that will handle the signal events of a xtd::environment.

using elapsed_event_handler = xtd::delegate<void(xtd::object& sender, const elapsed_event_args& e)>;
Provides data for the xtd::timers::timer::elapsed event.
Definition elapsed_event_args.hpp:18
xtd::delegate< void(xtd::object &sender, const elapsed_event_args &e)> elapsed_event_handler
Represents the method that will handle the signal events of a xtd::environment.
Definition elapsed_event_handler.hpp:27
Parameters
senderThe source of the event.
eA xtd::timers::elapsed_event_args object that contains the event data.
Header
#include <xtd/timers/elapsed_event_handler>
Namespace
xtd
Library
xtd.core

◆ animation_updated_event_handler

#include <xtd.forms/include/xtd/forms/animation_update_event_handler.hpp>

Represents the method that will handle the update of xtd::forms::animation.

Provides data for the animation update event.
Definition animation_update_event_args.hpp:22
xtd::delegate< void(xtd::object &sender, const xtd::forms::animation_updated_event_args &e)> animation_updated_event_handler
Represents the method that will handle the update of xtd::forms::animation.
Definition animation_update_event_handler.hpp:27
@ e
The E key.
Parameters
senderThe source of the event.
eA xtd::forms::animation_updated_event_args that contains the event data.
Header
#include <xtd/forms/animation_event_handler>
Namespace
xtd::forms
Library
xtd.forms

◆ cancel_event_handler

using xtd::forms::cancel_event_handler = typedef xtd::delegate<void(object& sender, cancel_event_args& e)>

#include <xtd.forms/include/xtd/forms/cancel_event_handler.hpp>

Represents the method that handles a cancelable event.

usingusing cancel_event_handler = xtd::delegate<void(object& sender, cancel_event_args& e)>;
Provides data for a cancelable event.
Definition cancel_event_args.hpp:22
xtd::delegate< void(object &sender, cancel_event_args &e)> cancel_event_handler
Represents the method that handles a cancelable event.
Definition cancel_event_handler.hpp:28
Parameters
senderThe source of the event.
eA cancel_event_args that contains the event data.
Header
#include <xtd/forms/cancel_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a cancel_event_handler 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 method is called whenever the event occurs, unless you remove the delegate.

◆ color_picker_event_handler

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

#include <xtd.forms/include/xtd/forms/color_picker_event_handler.hpp>

Represents the method that will handle the xtd::forms::color_picker::color_changeds of the xtd::forms::color_picker class.

using color_picker_event_handler = xtd::delegate<void(object& sender, const color_picker_event_args& e)>;
Provides data for the xtd::forms::color_picker::color_picker_changed event.
Definition color_picker_event_args.hpp:27
xtd::delegate< void(object &sender, const color_picker_event_args &e)> color_picker_event_handler
Represents the method that will handle the xtd::forms::color_picker::color_changeds of the xtd::forms...
Definition color_picker_event_handler.hpp:28
Parameters
senderThe source of the event.
eA control_event_args that contains the event data.
Header
#include <xtd/forms/color_picker_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a control_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.

◆ control_event_handler

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

#include <xtd.forms/include/xtd/forms/control_event_handler.hpp>

Represents the method that will handle the xtd::forms::control::control_added and xtd::forms::control::control_removed events of the control class.

using control_event_handler = xtd::delegate<void(object& sender, const control_event_args& e)>;
Provides data for the xtd::forms::control::control_added and xtd::forms::control::control_removed eve...
Definition control_event_args.hpp:27
xtd::delegate< void(object &sender, const control_event_args &e)> control_event_handler
Represents the method that will handle the xtd::forms::control::control_added and xtd::forms::control...
Definition control_event_handler.hpp:28
Parameters
senderThe source of the event.
eA control_event_args that contains the event data.
Header
#include <xtd/forms/control_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a control_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.

◆ date_range_event_handler

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

#include <xtd.forms/include/xtd/forms/date_range_event_handler.hpp>

Represents the method that will handle the xtd::forms::month_calendar::date_changed and xtd::forms::month_calendar::date_selected events of the xtd::forms::month_calendar class.

using date_range_event_handler = xtd::delegate<void(object& sender, const date_range_event_args& e)>;
Provides data for the xtd::forms::month_calendar::date_changed or xtd::forms::month_calendar::date_se...
Definition date_range_event_args.hpp:30
xtd::delegate< void(object &sender, const date_range_event_args &e)> date_range_event_handler
Represents the method that will handle the xtd::forms::month_calendar::date_changed and xtd::forms::m...
Definition date_range_event_handler.hpp:28
Parameters
senderThe source of the event.
eA date_range_event_args that contains the event data.
Header
#include <xtd/forms/date_range_event_handlef>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a date_range_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.

◆ dialog_closed_event_handler

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

#include <xtd.forms/include/xtd/forms/dialog_closed_event_handler.hpp>

Provides handler for a dialog closed event.

using dialog_closed_event_handler = xtd::delegate<void(object& sender, const dialog_closed_event_args& e)>;
Provides data for a dialog closed event.
Definition dialog_closed_event_args.hpp:22
xtd::delegate< void(object &sender, const dialog_closed_event_args &e)> dialog_closed_event_handler
Provides handler for a dialog closed event.
Definition dialog_closed_event_handler.hpp:27
Parameters
senderThe source of the event.
eAn dialog_closed_event_args that contains event data.
Header
#include <xtd/forms/dialog_closed_event_handler>
Namespace
xtd::forms
Library
xtd.forms

◆ do_work_event_handler

using xtd::forms::do_work_event_handler = typedef xtd::delegate<void(object& sender, do_work_event_args& e)>

#include <xtd.forms/include/xtd/forms/do_work_event_handler.hpp>

Represents the method that will handle the xtd::forms::background_worker::do_work event. This class cannot be inherited.

using do_work_event_handler = xtd::delegate<void(object& sender, do_work_event_args& e)>;
Provides data for the xtd::forms::background_worker::do_work event handler.
Definition do_work_event_args.hpp:23
xtd::delegate< void(object &sender, do_work_event_args &e)> do_work_event_handler
Represents the method that will handle the xtd::forms::background_worker::do_work event....
Definition do_work_event_handler.hpp:28
Parameters
senderThe source of the event.
eA do_work_event_args that contains the event data.
Header
#include <xtd/forms/do_work_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a do_work_event_handler 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 method is called whenever the event occurs, unless you remove the delegate

◆ draw_item_event_handler

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

#include <xtd.forms/include/xtd/forms/draw_item_event_handler.hpp>

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.

using draw_item_event_handler = xtd::delegate<void(object& sender, const draw_item_event_args& e)>;
Provides data for the.
Definition draw_item_event_args.hpp:31
xtd::delegate< void(object &sender, const draw_item_event_args &e)> draw_item_event_handler
Represents the method that will handle the.
Definition draw_item_event_handler.hpp:29
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.

◆ find_event_handler

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

#include <xtd.forms/include/xtd/forms/find_event_handler.hpp>

Represents the method that will handle the xtd::forms::find_dialog::find_next event of the xtd::forms::find_dialog and the xtd::forms::replace_dialog::find_next event of the xtd::forms::replace_dialog.

using find_event_handler = xtd::delegate<void(object& sender, const find_event_args& e)>;
Provides data for the xtd::forms::find_dialog::find_next and xtd::forms::replace_dialog::find_next ev...
Definition find_event_args.hpp:25
xtd::delegate< void(object &sender, const find_event_args &e)> find_event_handler
Represents the method that will handle the xtd::forms::find_dialog::find_next event of the xtd::forms...
Definition find_event_handler.hpp:27
Parameters
senderThe source of the event.
eA xtd::forms::find_event_args that contains the event data.
Header
#include <xtd/forms/find_event_handler>
Namespace
xtd::forms
Library
xtd.forms

◆ font_picker_event_handler

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

#include <xtd.forms/include/xtd/forms/font_picker_event_handler.hpp>

Represents the method that will handle the xtd::forms::font_picker::color_changeds of the xtd::forms::font_picker class.

using font_picker_event_handler = xtd::delegate<void(object& sender, const font_picker_event_args& e)>;
Provides data for the xtd::forms::font_picker::font_picker_changed events.
Definition font_picker_event_args.hpp:28
xtd::delegate< void(object &sender, const font_picker_event_args &e)> font_picker_event_handler
Represents the method that will handle the xtd::forms::font_picker::color_changeds of the xtd::forms:...
Definition font_picker_event_handler.hpp:28
Parameters
senderThe source of the event.
eA control_event_args that contains the event data.
Header
#include <xtd/forms/font_picker_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a control_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.

◆ form_closed_event_handler

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

#include <xtd.forms/include/xtd/forms/form_closed_event_handler.hpp>

Represents the method that handles a form_closed event.

using form_closed_event_handler = xtd::delegate<void(object& sender, const form_closed_event_args& e)>;
Provides data for the form_closed event.
Definition form_closed_event_args.hpp:22
xtd::delegate< void(object &sender, const form_closed_event_args &e)> form_closed_event_handler
Represents the method that handles a form_closed event.
Definition form_closed_event_handler.hpp:27
Parameters
senderThe source of the event.
eA form_closed_event_args that contains the event data.
Header
#include <xtd/forms/form_closed_event_handler>
Namespace
xtd::forms
Library
xtd.forms

◆ form_closing_event_handler

using xtd::forms::form_closing_event_handler = typedef xtd::delegate<void(object& sender, form_closing_event_args& e)>

#include <xtd.forms/include/xtd/forms/form_closing_event_handler.hpp>

Represents the method that handles a form_closing event.

using form_closing_event_handler = xtd::delegate<void(object& sender, form_closing_event_args& e)>;
Provides data for the form_closing event.
Definition form_closing_event_args.hpp:22
xtd::delegate< void(object &sender, form_closing_event_args &e)> form_closing_event_handler
Represents the method that handles a form_closing event.
Definition form_closing_event_handler.hpp:27
Parameters
senderThe source of the event.
eA form_closing_event_args that contains the event data.
Header
#include <xtd/forms/form_closing_event_handler>
Namespace
xtd::forms
Library
xtd.forms

◆ help_event_handler

using xtd::forms::help_event_handler = typedef xtd::delegate<void(object& sender, help_event_args& e)>

#include <xtd.forms/include/xtd/forms/help_event_handler.hpp>

Represents the method that will handle the xtd::forms::control::help_requested event of a control.

using help_event_handler = xtd::delegate<void(object& sender, help_event_args& e)>;
Provides data for the xtd::forms::control::control_added and xtd::forms::control::control_removed eve...
Definition help_event_args.hpp:26
xtd::delegate< void(object &sender, help_event_args &e)> help_event_handler
Represents the method that will handle the xtd::forms::control::help_requested event of a control.
Definition help_event_handler.hpp:28
Parameters
senderThe source of the event.
eA xtd::forms::help_event_args that contains the event data.
Header
#include <xtd/forms/help_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a help_event_handler 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.

◆ item_check_event_handler

using xtd::forms::item_check_event_handler = typedef xtd::delegate<void(object& sender, item_check_event_args& e)>

#include <xtd.forms/include/xtd/forms/item_check_event_handler.hpp>

Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control.

using item_check_event_handler = xtd::delegate<void(object& sender, item_check_event_args& e)>;
Provides data for the item_check event of the checked_list_box and list_view controls.
Definition item_check_event_args.hpp:30
xtd::delegate< void(object &sender, item_check_event_args &e)> item_check_event_handler
Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control.
Definition item_check_event_handler.hpp:28
Parameters
senderThe source of the event.
eAn ItemCheckEventArgs that contains the event data.
Header
#include <xtd/forms/item_check_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create an item_check_event_handler 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.

◆ key_event_handler

using xtd::forms::key_event_handler = typedef xtd::delegate<void(object& sender, key_event_args& e)>

#include <xtd.forms/include/xtd/forms/key_event_handler.hpp>

Represents the method that will handle the xtd::forms::control::key_up or xtd::forms::control::key_down event of a control.

using key_event_handler = xtd::delegate<void(object& sender, key_event_args& e)>;
Provides data for the xtd::forms::control::key_down or xtd::forms::control::key_up event.
Definition key_event_args.hpp:25
xtd::delegate< void(object &sender, key_event_args &e)> key_event_handler
Represents the method that will handle the xtd::forms::control::key_up or xtd::forms::control::key_do...
Definition key_event_handler.hpp:27
Parameters
senderThe source of the event.
eA key_event_args that contains the event data.
Header
#include <xtd/forms/key_event_handler>
Namespace
xtd::forms
Library
xtd.forms

◆ key_press_event_handler

using xtd::forms::key_press_event_handler = typedef xtd::delegate<void(object& sender, key_press_event_args& e)>

#include <xtd.forms/include/xtd/forms/key_press_event_handler.hpp>

Represents the method that will handle the xtd::forms::control::key_press event of a control.

using key_press_event_handler = xtd::delegate<void(object& sender, key_press_event_args& e)>;
Provides data for the xtd::forms::control::key_press event.
Definition key_press_event_args.hpp:26
xtd::delegate< void(object &sender, key_press_event_args &e)> key_press_event_handler
Represents the method that will handle the xtd::forms::control::key_press event of a control.
Definition key_press_event_handler.hpp:28
Parameters
senderThe source of the event.
eA xtd::forms::key_press_event_args that contains the event data.
Header
#include <xtd/forms/key_press_event_handler>
Namespace
xtd::forms
Library
xtd.forms

◆ link_label_clicked_event_handler

#include <xtd.forms/include/xtd/forms/link_label_clicked_event_handler.hpp>

Represents the method that will handle the xtd::forms::link_label::link_clicked event of a xtd::forms::link_label.

using link_label_clicked_event_handler = xtd::delegate<void(object& sender, link_label_clicked_event_args& e)>;
xtd::delegate< void(object &sender, link_label_clicked_event_args &e)> link_label_clicked_event_handler
Represents the method that will handle the xtd::forms::link_label::link_clicked event of a xtd::forms...
Definition link_label_clicked_event_handler.hpp:27
Parameters
senderThe source of the event.
eA xtd::forms::link_label_link_clicked_event_args that contains the event data.
Header
#include <xtd/forms/link_label_clicked_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a xtd::forms::link_label_link_clicked_event_handler 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, until you remove the delegate.

◆ mouse_event_handler

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

#include <xtd.forms/include/xtd/forms/mouse_event_handler.hpp>

Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form, control, or other component.

using mouse_event_handler = xtd::delegate<void(object& sender, const mouse_event_args& e)>;
Provides data for the xtd::forms::control::mouse_up, xtd::forms::control::mouse_down,...
Definition mouse_event_args.hpp:34
xtd::delegate< void(object &sender, const mouse_event_args &e)> mouse_event_handler
Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form,...
Definition mouse_event_handler.hpp:27
Parameters
senderThe source of the event.
eA xtd::forms::mouse_event_args that contains the event data.
Header
#include <xtd/forms/mouse_event_handler>
Namespace
xtd::forms
Library
xtd.forms

◆ paint_event_handler

using xtd::forms::paint_event_handler = typedef xtd::delegate<void(object& sender, paint_event_args& e)>

#include <xtd.forms/include/xtd/forms/paint_event_handler.hpp>

Represents the method that will handle the xtd::forms::control::paint event of a control.

using paint_event_handler = xtd::delegate<void(object& sender, paint_event_args& e)>;
Provides data for the xtd::forms::control::paint event.
Definition paint_event_args.hpp:30
xtd::delegate< void(object &sender, paint_event_args &e)> paint_event_handler
Represents the method that will handle the xtd::forms::control::paint event of a control.
Definition paint_event_handler.hpp:27
Parameters
senderThe source of the event.
eA paint_event_args that contains the event data.
Header
#include <xtd/forms/paint_event_handler>
Namespace
xtd::forms
Library
xtd.forms

◆ progress_changed_event_handler

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

#include <xtd.forms/include/xtd/forms/progress_changed_event_handler.hpp>

Represents the method that will handle the xtd::forms::background_worker::progress_changed event. This class cannot be inherited.

using progress_changed_event_handler = xtd::delegate<void(object& sender, const progress_changed_event_args& e)>;
Provides data for the xtd::forms::background_worker::progress_changed event handler.
Definition progress_changed_event_args.hpp:23
xtd::delegate< void(object &sender, const progress_changed_event_args &e)> progress_changed_event_handler
Represents the method that will handle the xtd::forms::background_worker::progress_changed event....
Definition progress_changed_event_handler.hpp:28
Parameters
senderThe source of the event.
eA do_work_event_args that contains the event data.
Header
#include <xtd/forms/progress_changed_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a progress_changed_event_handler 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 method is called whenever the event occurs, unless you remove the delegate

◆ replace_event_handler

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

#include <xtd.forms/include/xtd/forms/replace_event_handler.hpp>

Represents the method that will handle the xtd::forms::replace_dialog::replace event and the xtd::forms::replace_dialog::replace_all event of the xtd::forms::replace_dialog.

using replace_event_handler = xtd::delegate<void(object& sender, const replace_event_args& e)>;
Provides data for the xtd::forms::replace_dialog::replace and xtd::forms::replace_dialog::replace_all...
Definition replace_event_args.hpp:23
xtd::delegate< void(object &sender, const replace_event_args &e)> replace_event_handler
Represents the method that will handle the xtd::forms::replace_dialog::replace event and the xtd::for...
Definition replace_event_handler.hpp:27
Parameters
senderThe source of the event.
eA xtd::forms::replace_event_args that contains the event data.
Header
#include <xtd/forms/replace_event_handler>
Namespace
xtd::forms
Library
xtd.forms

◆ run_worker_completed_event_handler

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

#include <xtd.forms/include/xtd/forms/run_worker_completed_event_handler.hpp>

Represents the method that will handle the xtd::forms::background_worker::run_worker_completed event. This class cannot be inherited.

using run_worker_completed_event_handler = xtd::delegate<void(object& sender, const run_worker_completed_event_args& e)>;
Provides data for the xtd::forms::background_worker::run_worker_completed event handler.
Definition run_worker_completed_event_args.hpp:24
xtd::delegate< void(object &sender, const run_worker_completed_event_args &e)> run_worker_completed_event_handler
Represents the method that will handle the xtd::forms::background_worker::run_worker_completed event....
Definition run_worker_completed_event_handler.hpp:28
Parameters
senderThe source of the event.
eA do_work_event_args that contains the event data.
Header
#include <xtd/forms/run_worker_completed_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a run_worker_completed_event_handler 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 method is called whenever the event occurs, unless you remove the delegate

◆ status_bar_draw_item_event_handler

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

#include <xtd.forms/include/xtd/forms/status_bar_draw_item_event_handler.hpp>

Represents the method that will handle the xtd::forms::status_bar::draw_item event of a xtd::forms::status_bar.

using status_bar_draw_item_event_handler = xtd::delegate<void(object& sender, const status_bar_draw_item_event_args& e)>;
Provides data for the xtd::forms::status_bar::draw_item event.
Definition status_bar_draw_item_event_args.hpp:25
xtd::delegate< void(object &sender, const status_bar_draw_item_event_args &e)> status_bar_draw_item_event_handler
Represents the method that will handle the xtd::forms::status_bar::draw_item event of a xtd::forms::s...
Definition status_bar_draw_item_event_handler.hpp:29
Parameters
senderThe source of the event.
eA xtd::forms::status_bar_draw_item_event_args that contains the event data.
Header
#include <xtd/forms/status_bar_draw_item_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a xtd::forms::status_bar_draw_item_event_handler 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.

◆ status_bar_panel_click_event_handler

#include <xtd.forms/include/xtd/forms/status_bar_panel_click_event_handler.hpp>

Represents the method that will handle the xtd::forms::tool_bar::button_click event of a xtd::forms::tool_bar.

using status_bar_panel_click_event_handler = xtd::delegate<void(object& sender, const status_bar_panel_click_event_args& e)>;
Provides data for the xtd::forms::tool_bar::button_click event.
Definition status_bar_panel_click_event_args.hpp:25
xtd::delegate< void(object &sender, const status_bar_panel_click_event_args &e)> status_bar_panel_click_event_handler
Represents the method that will handle the xtd::forms::tool_bar::button_click event of a xtd::forms::...
Definition status_bar_panel_click_event_handler.hpp:29
Parameters
senderThe source of the event.
eA xtd::forms::status_bar_panel_click_event_args that contains the event data.
Header
#include <xtd/forms/statsu_bar_panel_click_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a xtd::forms::status_bar_panel_click_even_handler 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.

◆ tool_bar_button_click_event_handler

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

#include <xtd.forms/include/xtd/forms/tool_bar_button_click_event_handler.hpp>

Represents the method that will handle the xtd::forms::tool_bar::button_click event of a xtd::forms::tool_bar.

using tool_bar_button_click_event_handler = xtd::delegate<void(object& sender, const tool_bar_button_click_event_args& e)>;
Provides data for the xtd::forms::tool_bar::button_click event.
Definition tool_bar_button_click_event_args.hpp:25
xtd::delegate< void(object &sender, const tool_bar_button_click_event_args &e)> tool_bar_button_click_event_handler
Represents the method that will handle the xtd::forms::tool_bar::button_click event of a xtd::forms::...
Definition tool_bar_button_click_event_handler.hpp:29
Parameters
senderThe source of the event.
eA xtd::forms::tool_bar_button_click_event_args that contains the event data.
Header
#include <xtd/forms/tool_bar_button_click_event_handler>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When you create a xtd::forms::tool_bar_button_click_even_handler 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.