xtd 0.2.0
Loading...
Searching...
No Matches
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 &)>
 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.
 
template<typename event_args_t = const xtd::event_args&>
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::event_handler = generic_event_handler<>
 Represents the method that will handle an event that has no event 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 &, const xtd::forms::animation_updated_event_args &)>
 Represents the method that will handle the update of xtd::forms::animation.
 
using xtd::forms::cancel_event_handler = delegate< void(object &sender, cancel_event_args &e)>
 Represents the method that handles a cancelable event.
 
using xtd::forms::color_picker_event_handler = 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 = 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 = 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 = delegate< void(object &sender, const dialog_closed_event_args &e)>
 Provides handler for a dialog closed event.
 
using xtd::forms::do_work_event_handler = 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 = delegate< void(object &sender, const draw_item_event_args &e)>
 Represents the method that will handle the.
 
using xtd::forms::find_event_handler = 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 = 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 = 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 = delegate< void(object &sender, form_closing_event_args &e)>
 Represents the method that handles a form_closing event.
 
using xtd::forms::help_event_handler = 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 = 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 = 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 = 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 = 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::message_loop_callback = delegate< bool()>
 Represents a method that will check whether the hosting environment is still sending messages.
 
using xtd::forms::mouse_event_handler = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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&)>

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

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

Parameters
senderThe source of the event.
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.h>

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.h:28
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
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.h:27
@ e
The E key.
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

◆ generic_event_handler

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

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

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

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.
Namespace
xtd
Library
xtd.core

◆ event_handler

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

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

Parameters
senderThe source of the event.
eAn object that contains no event data.
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.h>

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

Parameters
eA xtd::program_exit_event_args object that contains the exit data.
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.h>

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

Parameters
eA xtd::signal_cancel_event_args object that contains the event data.
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.h>

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

Parameters
eA xtd::elapsed_event_args object that contains the event data.
Namespace
xtd
Library
xtd.core

◆ animation_updated_event_handler

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

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

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 delegate<void(object& sender, cancel_event_args& e)>

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

Represents the method that handles a cancelable event.

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 delegate<void(object& sender, const color_picker_event_args& e)>

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

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

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 delegate<void(object& sender, const control_event_args& e)>

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

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

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 delegate<void(object& sender, const date_range_event_args& e)>

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

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.

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 delegate<void(object& sender, const dialog_closed_event_args& e)>

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

Provides handler for a dialog closed event.

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 delegate<void(object& sender, do_work_event_args& e)>

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

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

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 delegate<void(object& sender, const draw_item_event_args& e)>

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

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.

◆ find_event_handler

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

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

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.

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 delegate<void(object& sender, const font_picker_event_args& e)>

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

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

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 delegate<void(object& sender, const form_closed_event_args& e)>

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

Represents the method that handles a form_closed event.

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 delegate<void(object& sender, form_closing_event_args& e)>

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

Represents the method that handles a form_closing event.

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 delegate<void(object& sender, help_event_args& e)>

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

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

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 delegate<void(object& sender, item_check_event_args& e)>

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

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

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 delegate<void(object& sender, key_event_args& e)>

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

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

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 delegate<void(object& sender, key_press_event_args& e)>

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

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

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

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

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.

◆ message_loop_callback

using xtd::forms::message_loop_callback = typedef delegate<bool()>

#include <xtd.forms/include/xtd/forms/message_loop_callback.h>

Represents a method that will check whether the hosting environment is still sending messages.

Header
#include <xtd/forms/message_loop_callback>
Namespace
xtd::forms
Library
xtd.forms
Returns
true if the hosting environment is still sending messages; otherwise, false.
Remarks
This delegate is used with the application::register_message_loop method.

◆ mouse_event_handler

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

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

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

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 delegate<void(object& sender, paint_event_args& e)>

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

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

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 delegate<void(object& sender, const progress_changed_event_args& e)>

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

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

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 delegate<void(object& sender, const replace_event_args& e)>

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

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.

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

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

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

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

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

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

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

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

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

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

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

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.