xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
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< object_t, handler_t > |
Represents an 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::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::control_event_args |
Provides data for the control_added and control_removed events. 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 do_work event handler. 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 control_added and 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 key_down or key_up event. More... | |
class | xtd::forms::key_press_event_args |
Provides data for the key_press event. 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 paint event. More... | |
class | xtd::forms::progress_changed_event_args |
Provides data for the do_work event handler. More... | |
class | xtd::forms::run_worker_completed_event_args |
Provides data for the do_work event handler. 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::forms::animation_updated_event_handler = xtd::delegate< void(object &, const xtd::forms::animation_updated_event_args &)> |
Represents the method that will handle the update of xtd::forms::animation. More... | |
using | xtd::forms::cancel_event_handler = delegate< void(object &sender, cancel_event_args &e)> |
Represents the method that handles a cancelable event. More... | |
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. More... | |
using | xtd::forms::control_event_handler = delegate< void(object &sender, const control_event_args &e)> |
Represents the method that will handle the control_added and control_removed events of the control class. More... | |
using | xtd::diagnostics::data_received_event_handler = xtd::delegate< void(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. More... | |
using | xtd::forms::dialog_closed_event_handler = delegate< void(object &sender, const dialog_closed_event_args &e)> |
Provides handler for a dialog closed event. More... | |
using | xtd::forms::do_work_event_handler = delegate< void(object &sender, do_work_event_args &e)> |
Represents the method that will handle the do_work event. This class cannot be inherited. More... | |
using | xtd::event_handler = generic_event_handler<> |
Represents the method that will handle an event that has no event data. More... | |
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. More... | |
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. More... | |
template<typename event_args_t = const event_args&> | |
using | xtd::generic_event_handler = xtd::delegate< void(object &sender, event_args_t e)> |
Represents the method that will handle an event when the event provides data. More... | |
using | xtd::forms::help_event_handler = delegate< void(object &sender, help_event_args &e)> |
Represents the method that will handle the help_requested event of a control. More... | |
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. More... | |
using | xtd::forms::key_event_handler = delegate< void(object &sender, key_event_args &e)> |
Represents the method that will handle the key_up or key_down event of a control. More... | |
using | xtd::forms::key_press_event_handler = delegate< void(object &sender, key_press_event_args &e)> |
Represents the method that will handle the key_press event of a control. More... | |
using | xtd::forms::message_loop_callback = delegate< bool()> |
Represents a method that will check whether the hosting environment is still sending messages. More... | |
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. More... | |
using | xtd::forms::paint_event_handler = delegate< void(object &sender, paint_event_args &e)> |
Represents the method that will handle the paint event of a control. More... | |
using | xtd::forms::progress_changed_event_handler = delegate< void(object &sender, const progress_changed_event_args &e)> |
Represents the method that will handle the do_work event. This class cannot be inherited. More... | |
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 do_work event. This class cannot be inherited. More... | |
using xtd::forms::animation_updated_event_handler = typedef xtd::delegate<void(object&, const xtd::forms::animation_updated_event_args&)> |
#include <xtd.forms/include/xtd/forms/animation_update_event_handler.h>
Represents the method that will handle the update of xtd::forms::animation.
sender | The source of the event. |
e | A xtd::forms::animation_updated_event_args that contains the event data. |
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.
sender | The source of the event. |
e | A cancel_event_args that contains the event data. |
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.
sender | The source of the event. |
e | A xtd::console_cancel_event_args object that contains the event data. |
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 control_added and control_removed events of the control class.
sender | The source of the event. |
e | A control_event_args that contains the event data. |
using xtd::diagnostics::data_received_event_handler = typedef xtd::delegate<void(object& sender, const xtd::diagnostics::data_received_event_args& e)> |
#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.
sender | The source of the event. |
e | A xtd::diagnostics::process::data_received_event_args that contains the event data. |
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.
sender | The source of the event. |
e | An dialog_closed_event_args that contains event data. |
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 do_work event. This class cannot be inherited.
sender | The source of the event. |
e | A do_work_event_args that contains the event data. |
using xtd::event_handler = typedef generic_event_handler<> |
#include <xtd.core/include/xtd/event_handler.h>
Represents the method that will handle an event that has no event data.
sender | The source of the event. |
e | An object that contains no event data. |
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.
sender | The source of the event. |
e | A form_closed_event_args that contains the event data. |
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.
sender | The source of the event. |
e | A form_closing_event_args that contains the event data. |
using xtd::generic_event_handler = typedef xtd::delegate<void(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.
event_args_t | The type of the event data generated by the event. |
sender | The source of the event. |
e | An object that contains the event data. |
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 help_requested event of a control.
sender | The source of the event. |
e | A help_event_args that contains the event data. |
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.
sender | The source of the event. |
e | An ItemCheckEventArgs that contains the event data. |
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 key_up or key_down event of a control.
sender | The source of the event. |
e | A key_event_args that contains the event data. |
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 key_press event of a control.
sender | The source of the event. |
e | A key_press_event_args that contains the event data. |
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.
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.
sender | The source of the event. |
e | A xtd::forms::mouse_event_args that contains the event data. |
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 paint event of a control.
sender | The source of the event. |
e | A paint_event_args that contains the event data. |
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 do_work event. This class cannot be inherited.
sender | The source of the event. |
e | A do_work_event_args that contains the event data. |
using xtd::forms::run_worker_completed_event_handler = typedef delegate<void(object& sender, const run_worker_completed_event_args& e)> |
#include <xtd.forms/include/xtd/forms/run_worker_completed_event_handler.h>
Represents the method that will handle the do_work event. This class cannot be inherited.
sender | The source of the event. |
e | A do_work_event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::auto_size_changed event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::back_color_changed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::trace_form_base, xtd::forms::seven_segment_display, xtd::forms::lcd_label, xtd::forms::dot_matrix_display, and xtd::forms::button_base.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::background_image_changed event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::background_image_layout_changed event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::click event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::client_size_changed event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::control_added event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::vertical_layout_panel, xtd::forms::horizontal_layout_panel, xtd::forms::tab_control, and xtd::forms::collapsible_panel.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::control_removed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::vertical_layout_panel, xtd::forms::horizontal_layout_panel, xtd::forms::tab_control, and xtd::forms::collapsible_panel.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::create_control event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::cursor_changed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::link_label.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::dock_changed event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the double_click event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::enabled_changed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::toggle_button, xtd::forms::seven_segment_display, xtd::forms::radio_button, xtd::forms::check_box, xtd::forms::button_base, and xtd::forms::button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::font_changed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::label, xtd::forms::group_box, xtd::forms::button_base, and xtd::forms::font_picker.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::fore_color_changed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::trace_form_base, xtd::forms::seven_segment_display, xtd::forms::lcd_label, xtd::forms::dot_matrix_display, and xtd::forms::button_base.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::got_focus event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::radio_button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::handle_created event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::user_control, xtd::forms::up_down_button, xtd::forms::track_bar, xtd::forms::toggle_button, xtd::forms::text_box, xtd::forms::tab_page, xtd::forms::tab_control, xtd::forms::switch_button, xtd::forms::splitter, xtd::forms::scroll_bar, xtd::forms::radio_button, xtd::forms::progress_bar, xtd::forms::picture_box, xtd::forms::panel, xtd::forms::numeric_up_down, xtd::forms::loading_indicator, xtd::forms::list_box, xtd::forms::lcd_label, xtd::forms::label, xtd::forms::form, xtd::forms::font_picker, xtd::forms::domain_up_down, xtd::forms::date_time_picker, xtd::forms::command_link_button, xtd::forms::combo_box, xtd::forms::color_picker, xtd::forms::collapsible_panel, xtd::forms::choice, xtd::forms::checked_list_box, xtd::forms::check_box, and xtd::forms::button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::handle_destroyed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::form.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::key_down event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::key_press event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::key_up event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::layout event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::vertical_layout_panel, xtd::forms::table_layout_panel, xtd::forms::horizontal_layout_panel, xtd::forms::flow_layout_panel, xtd::forms::fixed_layout_panel, xtd::forms::user_control, xtd::forms::scrollable_control, xtd::forms::panel, and xtd::forms::form.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::location_changed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::form.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::lost_focus event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::radio_button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::mouse_click event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::link_label.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::mouse_double_click event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::mouse_down event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::link_label, xtd::forms::toggle_button, xtd::forms::switch_button, xtd::forms::splitter, xtd::forms::radio_button, xtd::forms::check_box, xtd::forms::button_base, and xtd::forms::button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::mouse_enter event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::toggle_button, xtd::forms::radio_button, xtd::forms::check_box, xtd::forms::button_base, and xtd::forms::button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::mouse_horizontal_wheel event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::mouse_leave event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::toggle_button, xtd::forms::radio_button, xtd::forms::check_box, xtd::forms::button_base, and xtd::forms::button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::mouse_move event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::link_label, xtd::forms::splitter, and xtd::forms::radio_button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::mouse_up event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::link_label, xtd::forms::toggle_button, xtd::forms::splitter, xtd::forms::radio_button, xtd::forms::check_box, xtd::forms::button_base, and xtd::forms::button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::mouse_wheel event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::paint event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::loading_indicator, xtd::forms::link_label, xtd::forms::label, xtd::forms::toggle_button, xtd::forms::switch_button, xtd::forms::sixteen_segment_display, xtd::forms::seven_segment_display, xtd::forms::radio_button, xtd::forms::nine_segment_display, xtd::forms::fourteen_segment_display, xtd::forms::dot_matrix_display, xtd::forms::check_box, and xtd::forms::button.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::parent_back_color_changed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::button_base.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::parent_changed event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::parent_cursor_changed event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the xtd::control::enabled_changed event when the xtd::control::enabled property value of the control's container changes..
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::seven_segment_display.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::parent_font_changed event.
e | An xtd::event_args that contains the event data. |
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::parent_fore_color_changed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::button_base.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::resize event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::label, xtd::forms::group_box, xtd::forms::button_base, xtd::forms::switch_button, xtd::forms::split_container, xtd::forms::lcd_label, and xtd::forms::form.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::size_changed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::lcd_label.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::text_changed event.
e | An xtd::event_args that contains the event data. |
Reimplemented in xtd::forms::link_label, xtd::forms::label, xtd::forms::group_box, xtd::forms::button_base, xtd::forms::text_box, and xtd::forms::domain_up_down.
|
protectedvirtual |
#include <xtd.forms/include/xtd/forms/control.h>
Raises the control::visible_changed event.
e | An xtd::event_args that contains the event data. |
event<text_box, event_handler> xtd::forms::text_box::accepts_return_changed |
Occurs when the value of the accepts_return property has changed.
event<text_box_base, event_handler> xtd::forms::text_box_base::accepts_tab_changed |
Occurs when the value of the accepts_tab property has changed.
event<form, event_handler> xtd::forms::form::activated |
Occurs when the form is activated in code or by the user.
event<check_box, event_handler> xtd::forms::check_box::appearance_changed |
Occurs when the value of the appearance property changes.
event<radio_button, event_handler> xtd::forms::radio_button::appearance_changed |
Occurs when the appearance property value changes.
|
static |
Occurs when the application is about to shut down.
event<font_dialog, event_handler> xtd::forms::font_dialog::apply |
Occurs when the user clicks the Apply button in the font dialog box.
event<control, event_handler> xtd::forms::control::auto_size_changed |
Occurs when the value of the auto_size property changes.
event<control, event_handler> xtd::forms::control::back_color_changed |
Occurs when the value of the back_color property changes.
event<control, event_handler> xtd::forms::control::background_image_changed |
Occurs when the value of the background_image property changes.
event<control, event_handler> xtd::forms::control::background_image_layout_changed |
Occurs when the value of the background_image_layout property changes.
event<text_box_base, event_handler> xtd::forms::text_box_base::border_style_changed |
Occurs when the value of the accepts_tab border_style has changed.
event<check_box, event_handler> xtd::forms::check_box::check_state_changed |
Occurs when the value of the check_state property changes.
event<toggle_button, event_handler> xtd::forms::toggle_button::check_state_changed |
Occurs when the value of the check_state property changes.
event<check_box, event_handler> xtd::forms::check_box::checked_changed |
Occurs when the value of the checked property changes.
event<radio_button, event_handler> xtd::forms::radio_button::checked_changed |
Occurs when the value of the checked property changes.
event<switch_button, event_handler> xtd::forms::switch_button::checked_changed |
Occurs when the value of the checked property changes.
event<toggle_button, event_handler> xtd::forms::toggle_button::checked_changed |
Occurs when the value of the checked property changes.
event<control, event_handler> xtd::forms::control::click |
Occurs when the control is clicked.
Control | Left Mouse Click | Left Mouse Double Click | Right Mouse Click | Right Mouse Click | Middle Mouse Click | Middle Mouse Double Click | XButton1 Mouse Click | XButton1 Mouse Double-Click | XButton2 Mouse Click | XButton2 Mouse Double-Click |
---|---|---|---|---|---|---|---|---|---|---|
xtd::forms::month_calendar, xtd::forms::date_time_picker, xtd::forms::h_scroll_bar, xtd::forms::v_scroll_bar | none | none | none | none | none | none | none | none | none | none |
xtd::forms::button, xtd::forms::check_box, xtd::forms::color_picker, xtd::forms::command_link_button, xtd::forms::font_picker, xtd::forms::rich_text_box, xtd::forms::radio_button, xtd::forms::switch_button, xtd::forms::toggle_button | click | click, click | none | none | none | none | none | none | none | none |
xtd::forms::list_box, xtd::forms::checked_list_box, xtd::forms::choice, xtd::forms::combo_box | click | click, double_click | none | none | none | none | none | none | none | none |
xtd::forms::text_box, xtd::forms::domain_up_down, xtd::forms::numeric_up_down | click | click, double_click | none | none | none | none | none | none | none | none |
* xtd::forms::tree_view, * xtd::forms::list_view | click | click, double_click | click | click, double_click | none | none | none | none | none | none |
xtd::forms::progress_bar, xtd::forms::track_bar | click | click, click | click | click, click | click | click, click | click | click, click | click | click, click |
xtd::forms::form, xtd::forms::collapsible_panel, xtd::forms::data_grid, xtd::forms::dot_matrix_display, xtd::forms::label, xtd::forms::lcd_label, xtd::forms::link_label, xtd::forms::nine_segment_display, xtd::forms::seven_segment_display, xtd::forms::sixteen_segment_display, xtd::forms::panel, xtd::forms::group_box, xtd::forms::picture_box, xtd::forms::splitter, xtd::forms::status_bar, xtd::forms::tool_bar, xtd::forms::tab_page, ** xtd::forms::tab_control | click | click, double_click | click | click, double_click | click | click, double_click | click | click, double_click | click | click, double_click |
event<control, event_handler> xtd::forms::control::client_size_changed |
Occurs when the value of the client_size property changes.
event<color_picker, event_handler> xtd::forms::color_picker::color_changed |
Occurs when the value of the color property changes.
event<control, control_event_handler> xtd::forms::control::control_added |
Occurs when a new control is added to the control::control_collection.
event<control, control_event_handler> xtd::forms::control::control_removed |
Occurs when a new control is removed to the control::control_collection.
event<control, event_handler> xtd::forms::control::cursor_changed |
Occurs when the value of the cursor property changes.
event<form, event_handler> xtd::forms::form::deactivate |
Occurs when the form loses focus and is no longer the active form.
event<common_dialog, dialog_closed_event_handler> xtd::forms::common_dialog::dialog_closed |
Occurs when the user close a common dialog box with dialog close button or other dialog buttons.
event<exception_dialog, dialog_closed_event_handler> xtd::forms::exception_dialog::dialog_closed |
Occurs when the user close an exception dialog box with dialog close button or other dialog buttons.
event<message_dialog, dialog_closed_event_handler> xtd::forms::message_dialog::dialog_closed |
Occurs when the user close a message dialog box with dialog close button or other dialog buttons.
event<background_worker, do_work_event_handler> xtd::forms::background_worker::do_work |
Occurs when run_worker_async() is called.
event<control, event_handler> xtd::forms::control::dock_changed |
Occurs when the value of the dock property changes.
event<control, event_handler> xtd::forms::control::double_click |
Occurs when the control is double-clicked.
Control | Left Mouse Click | Left Mouse Double Click | Right Mouse Click | Right Mouse Click | Middle Mouse Click | Middle Mouse Double Click | XButton1 Mouse Click | XButton1 Mouse Double-Click | XButton2 Mouse Click | XButton2 Mouse Double-Click |
---|---|---|---|---|---|---|---|---|---|---|
xtd::forms::month_calendar, xtd::forms::date_time_picker, xtd::forms::h_scroll_bar, xtd::forms::v_scroll_bar | none | none | none | none | none | none | none | none | none | none |
xtd::forms::button, xtd::forms::check_box, xtd::forms::color_picker, xtd::forms::command_link_button, xtd::forms::font_picker, xtd::forms::rich_text_box, xtd::forms::radio_button, xtd::forms::switch_button, xtd::forms::toggle_button | click | click, click | none | none | none | none | none | none | none | none |
xtd::forms::list_box, xtd::forms::checked_list_box, xtd::forms::choice, xtd::forms::combo_box | click | click, double_click | none | none | none | none | none | none | none | none |
xtd::forms::text_box, xtd::forms::domain_up_down, xtd::forms::numeric_up_down | click | click, double_click | none | none | none | none | none | none | none | none |
* xtd::forms::tree_view, * xtd::forms::list_view | click | click, double_click | click | click, double_click | none | none | none | none | none | none |
xtd::forms::progress_bar, xtd::forms::track_bar | click | click, click | click | click, click | click | click, click | click | click, click | click | click, click |
xtd::forms::form, xtd::forms::collapsible_panel, xtd::forms::data_grid, xtd::forms::dot_matrix_display, xtd::forms::label, xtd::forms::lcd_label, xtd::forms::link_label, xtd::forms::nine_segment_display, xtd::forms::seven_segment_display, xtd::forms::sixteen_segment_display, xtd::forms::panel, xtd::forms::group_box, xtd::forms::picture_box, xtd::forms::splitter, xtd::forms::status_bar, xtd::forms::tool_bar, xtd::forms::tab_page, ** xtd::forms::tab_control | click | click, double_click | click | click, double_click | click | click, double_click | click | click, double_click | click | click, double_click |
event<combo_box, event_handler> xtd::forms::combo_box::drop_down_style_changed |
Occurs when the drop_down_style property has changed.
event<control, event_handler> xtd::forms::control::enabled_changed |
Occurs when the value of the enabled property changes.
|
static |
Occurs when the application is about to enter a modal state.
xtd::event<collapsible_panel, xtd::event_handler> xtd::forms::collapsible_panel::expanded_changed |
Occurs when the expanded property changes.
event<control, event_handler> xtd::forms::control::font_changed |
Occurs when the value of the font property changes.
event<font_picker, event_handler> xtd::forms::font_picker::font_changed |
Occurs when the value of the font property changes.
event<control, event_handler> xtd::forms::control::fore_color_changed |
Occurs when the value of the fore_color property changes.
event<form, form_closed_event_handler> xtd::forms::form::form_closed |
Occurs after the form is closed.
event<form, form_closing_event_handler> xtd::forms::form::form_closing |
Occurs before the form is closed.
event<control, event_handler> xtd::forms::control::got_focus |
Occurs when the control receives focus.
event<control, event_handler> xtd::forms::control::handle_created |
Occurs when a handle is created for the control.
event<control, event_handler> xtd::forms::control::handle_destroyed |
Occurs when the control's handle is in the process of being destroyed.
event<common_dialog, help_event_handler> xtd::forms::common_dialog::help_request |
Occurs when the user clicks the Help button on a common dialog box.
event<message_dialog, help_event_handler> xtd::forms::message_dialog::help_request |
Occurs when the user clicks the Help button on a common dialog box.
|
static |
Occurs when the application finishes processing and is about to enter the idle state.
event<button_base, event_handler> xtd::forms::button_base::image_changed |
Occurs when the value of the image property changes.
event<control, key_event_handler> xtd::forms::control::key_down |
Occurs when a key is pressed while the control has focus.
event<control, key_press_event_handler> xtd::forms::control::key_press |
Occurs when a character. space or backspace key is pressed while the control has focus.
event<control, key_event_handler> xtd::forms::control::key_up |
Occurs when a key is released while the control has focus.
event<control, event_handler> xtd::forms::control::layout |
Occurs when a control should reposition its child controls.
|
static |
Occurs when the application is about to leave a modal state.
event<control, event_handler> xtd::forms::control::location_changed |
Occurs when the value of the location property changes.
event<control, event_handler> xtd::forms::control::lost_focus |
Occurs when the control loses focus.
event<control, mouse_event_handler> xtd::forms::control::mouse_click |
Occurs when the control is clicked by the mouse.
event<control, mouse_event_handler> xtd::forms::control::mouse_double_click |
Occurs when the control is double clicked by the mouse.
event<control, mouse_event_handler> xtd::forms::control::mouse_down |
Occurs when the mouse pointer is over the control and a mouse button is pressed.
event<control, event_handler> xtd::forms::control::mouse_enter |
Occurs when the mouse pointer enters the control.
event<control, mouse_event_handler> xtd::forms::control::mouse_horizontal_wheel |
Occurs when the mouse horizontal wheel moves while the control has focus.
event<control, event_handler> xtd::forms::control::mouse_leave |
Occurs when the mouse pointer leaves the control.
event<control, mouse_event_handler> xtd::forms::control::mouse_move |
Occurs when the mouse pointer is moved over the control.
event<control, mouse_event_handler> xtd::forms::control::mouse_up |
Occurs when the mouse pointer is over the control and a mouse button is released.
event<control, mouse_event_handler> xtd::forms::control::mouse_wheel |
Occurs when the mouse wheel moves while the control has focus.
event<text_box_base, event_handler> xtd::forms::text_box_base::multiline_changed |
Occurs when the value of the accepts_tab border_style has changed.
event<control, paint_event_handler> xtd::forms::control::paint |
Occurs when the control is redrawn.
event<control, event_handler> xtd::forms::control::parent_changed |
Occurs when the value of the parent property changes.
event<background_worker, progress_changed_event_handler> xtd::forms::background_worker::progress_changed |
Occurs when report_progress(int32_t) is called.
event<text_box_base, event_handler> xtd::forms::text_box_base::read_only_changed |
Occurs when the value of the read_only property has changed.
event<control, event_handler> xtd::forms::control::resize |
Occurs when the control is resized.
event<background_worker, run_worker_completed_event_handler> xtd::forms::background_worker::run_worker_completed |
Occurs when the background operation has completed, has been canceled, or has raised an exception.
event<scroll_bar, event_handler> xtd::forms::scroll_bar::scroll |
Occurs when the scroll box has been moved by either a mouse or keyboard action.
event<track_bar, event_handler> xtd::forms::track_bar::scroll |
Occurs when either a mouse or keyboard action moves the scroll box.
event<up_down_button, event_handler> xtd::forms::up_down_button::scroll |
Occurs when either a mouse or keyboard action moves the scroll box.
event<list_control, event_handler> xtd::forms::list_control::selected_index_changed |
Occurs when the selected_index property changes.
event<tab_control, event_handler> xtd::forms::tab_control::selected_index_changed |
Occurs when the selected_index property has changed.
event<domain_up_down, event_handler> xtd::forms::domain_up_down::selected_item_changed |
Occurs when the selected_item property has been changed.
event<list_control, event_handler> xtd::forms::list_control::selected_value_changed |
Occurs when the selected_value property changes.
event<control, event_handler> xtd::forms::control::size_changed |
Occurs when the value of the size property changes.
event<control, event_handler> xtd::forms::control::text_changed |
Occurs when the value of the text property changes.
|
static |
Occurs when a thread is about to shut down. When the main thread for an application is about to be shut down, this event is raised first, followed by an application_exit event.
event<application_context, event_handler> xtd::forms::application_context::thread_exit |
Occurs when the message loop of the thread should be terminated, by calling exit_thread().
event<timer, event_handler> xtd::forms::timer::tick |
Occurs when the specified timer interval has elapsed and the timer is enabled.
xtd::event<animation, animation_updated_event_handler> xtd::forms::animation::updated |
Occurs when the specified interval specified by xtd::animation::frames_per_seconds has elapsed and the animation is started.
event<date_time_picker, event_handler> xtd::forms::date_time_picker::value_changed |
Occurs when the value of the value property changes.
event<domain_up_down, event_handler> xtd::forms::domain_up_down::value_changed |
Occurs when the value property has been changed.
event<numeric_up_down, event_handler> xtd::forms::numeric_up_down::value_changed |
Occurs when the value property has been changed in some way.
event<scroll_bar, event_handler> xtd::forms::scroll_bar::value_changed |
Occurs when the xtd::forms::scroll_bar::value property is changed, either by a xtd::forms::scroll_bar::scroll event or programmatically.
event<track_bar, event_handler> xtd::forms::track_bar::value_changed |
Occurs when the value property of a track bar changes, either by movement of the scroll box or by manipulation in code.
event<up_down_button, event_handler> xtd::forms::up_down_button::value_changed |
Occurs when the value of the value property changes.
event<control, event_handler> xtd::forms::control::visible_changed |
Occurs when the value of the visible property changes.