|
template<typename type_t > |
using | cancel_event_handler = delegate< void(type_t sender, cancel_event_args &e)> |
| Represents the method that handles a cancelable event. More...
|
|
template<typename type_t > |
using | control_event_handler = delegate< void(type_t 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 | control_ref = std::reference_wrapper< control > |
| Represents a control reference. More...
|
|
template<typename type_t > |
using | form_closed_event_handler = delegate< void(type_t sender, const form_closed_event_args &e)> |
| Represents the method that handles a form_closed event. More...
|
|
template<typename type_t > |
using | form_closing_event_handler = delegate< void(type_t, form_closing_event_args &)> |
|
using | form_collection = std::vector< std::reference_wrapper< form >> |
| Represents a collection of form objects. More...
|
|
template<typename type_t > |
using | help_event_handler = delegate< void(type_t sender, help_event_args &e)> |
| Represents the method that will handle the help_requested event of a control. More...
|
|
template<typename type_t > |
using | item_check_event_handler = delegate< void(type_t sender, item_check_event_args &e)> |
| Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control. More...
|
|
template<typename type_t > |
using | key_event_handler = delegate< void(type_t, key_event_args &)> |
|
template<typename type_t > |
using | key_press_event_handler = delegate< void(type_t, key_press_event_args &)> |
|
using | message_loop_callback = delegate< bool()> |
| Represents a method that will check whether the hosting environment is still sending messages. More...
|
|
template<typename type_t > |
using | mouse_event_handler = delegate< void(type_t, const mouse_event_args &)> |
|
template<typename type_t > |
using | paint_event_handler = delegate< void(type_t, paint_event_args &)> |
|
|
enum | anchor_styles {
anchor_styles::none = 0b0,
anchor_styles::top = 0b1,
anchor_styles::bottom = 0b10,
anchor_styles::left = 0b100,
anchor_styles::right = 0b1000
} |
| Specifies how a control anchors to the edges of its container. More...
|
|
enum | appearance {
appearance::normal = 0,
appearance::button = 1
} |
| Specifies the appearance of a control. More...
|
|
enum | arrange_direction {
arrange_direction::down = 0x0004,
arrange_direction::left = 0x0000,
arrange_direction::right = 0x0000,
arrange_direction::up = 0x0004
} |
| Specifies the direction the system uses to arrange minimized windows. More...
|
|
enum | arrange_starting_position {
arrange_starting_position::bottom_left = 0,
arrange_starting_position::bottom_right = 1,
arrange_starting_position::top_left = 2,
arrange_starting_position::top_right = 3,
arrange_starting_position::hide = 8
} |
| Specifies the starting position that the system uses to arrange minimized windows. More...
|
|
enum | auto_size_mode {
auto_size_mode::grow_and_shrink = 0,
auto_size_mode::grow_only = 1
} |
| Specifies how a control will behave when its auto_size property is enabled. More...
|
|
enum | boot_mode {
boot_mode::normal = 0,
boot_mode::fail_safe = 1,
boot_mode::fail_safe_with_network = 2
} |
| Specifies the mode to start the computer in. More...
|
|
enum | border_style {
border_style::none = 0,
border_style::fixed_single = 1,
border_style::fixed_3d = 2
} |
| Specifies the border style for a control. More...
|
|
enum | bounds_specified {
bounds_specified::none = 0,
bounds_specified::x = 0b1,
bounds_specified::y = 0b10,
bounds_specified::location = 0b11,
bounds_specified::width = 0b100,
bounds_specified::height = 0b1000,
bounds_specified::size = 0b1100,
bounds_specified::all = 0b1111
} |
| Specifies the bounds of the control to use when defining a control's size and position. More...
|
|
enum | check_state {
check_state::unchecked = 0,
check_state::checked = 1,
check_state::indeterminate = 2
} |
| Specifies the state of a control, such as a check box, that can be checked, unchecked, or set to an indeterminate state. More...
|
|
enum | close_reason {
close_reason::none = 0,
close_reason::windows_shut_down = 1,
close_reason::mdi_form_closing = 2,
close_reason::user_closing = 3,
close_reason::task_manager_closing = 4,
close_reason::form_owner_closing = 5,
close_reason::application_exit_call = 6
} |
| Specifies the reason that a form was closed. More...
|
|
enum | combo_box_style {
combo_box_style::simple = 1,
combo_box_style::drop_down = 2,
combo_box_style::drop_down_list = 3
} |
| Specifies the combo_box style. More...
|
|
enum | content_alignment {
content_alignment::top_left = 0b1,
content_alignment::top_center = 0b10,
content_alignment::top_right = 0b100,
content_alignment::middle_left = 0b10000,
content_alignment::middle_center = 0b100000,
content_alignment::middle_right = 0b1000000,
content_alignment::bottom_left = 0b100000000,
content_alignment::bottom_center = 0b1000000000,
content_alignment::bottom_right = 0b10000000000
} |
| Specifies alignment of content on the drawing surface. More...
|
|
enum | control_styles {
control_styles::none = 0,
control_styles::container_control = 0b1,
control_styles::user_paint = 0b10,
control_styles::opaque = 0b100,
control_styles::resize_redraw = 0b10000,
control_styles::fixed_width = 0b100000,
control_styles::fixed_height = 0b1000000,
control_styles::standard_click = 0b100000000,
control_styles::selectable = 0b1000000000,
control_styles::user_mouse = 0b10000000000,
control_styles::supports_transparent_back_color = 0b100000000000,
control_styles::standard_double_click = 0b1000000000000,
control_styles::all_painting_in_wm_paint = 0b10000000000000,
control_styles::cache_text = 0b100000000000000,
control_styles::enable_notify_message = 0b1000000000000000,
control_styles::double_buffer = 0b10000000000000000,
control_styles::optimized_double_buffer = 0b100000000000000000,
control_styles::use_text_for_accessibility = 0b1000000000000000000
} |
| Specifies the style and behavior of a control. More...
|
|
enum | dialog_result {
dialog_result::none = 0,
dialog_result::ok = 1,
dialog_result::cancel = 2,
dialog_result::abort = 3,
dialog_result::retry = 4,
dialog_result::ignore = 5,
dialog_result::yes = 6,
dialog_result::no = 7
} |
| Specifies identifiers to indicate the return value of a dialog box. More...
|
|
enum | dock_style {
dock_style::none = 0,
dock_style::top = 1,
dock_style::bottom = 2,
dock_style::left = 3,
dock_style::right = 4,
dock_style::fill = 5
} |
| Specifies the position and manner in which a control is docked. More...
|
|
enum | form_border_style {
form_border_style::none = 0,
form_border_style::fixed_single = 1,
form_border_style::fixed_3d = 2,
form_border_style::fixed_dialog = 3,
form_border_style::sizable = 4,
form_border_style::fixed_tool_window = 5,
form_border_style::sizable_tool_window = 6
} |
| Specifies the border styles for a form. More...
|
|
enum | form_start_position {
form_start_position::manual = 0,
form_start_position::center_screen = 1,
form_start_position::windows_default_location = 2,
form_start_position::windows_default_bounds = 3,
form_start_position::center_parent = 4
} |
| Specifies the initial position of a form. More...
|
|
enum | form_window_state {
form_window_state::normal = 0,
form_window_state::minimized = 1,
form_window_state::maximized = 2,
form_window_state::full_screen = 3
} |
| Specifies how a form window is displayed. More...
|
|
enum | keys : long long {
keys::none = 0x00000000,
keys::lbutton = 0x00000001,
keys::rbutton = 0x00000002,
keys::cancel = 0x00000003,
keys::mbutton = 0x00000004,
keys::xbutton1 = 0x00000005,
keys::xbutton2 = 0x00000006,
keys::back = 0x00000008,
keys::tab = 0x00000009,
keys::line_feed = 0x0000000A,
keys::clear = 0x0000000C,
keys::ret = 0x0000000D,
keys::enter = 0x0000000D,
keys::shift_key = 0x00000010,
keys::control_key = 0x00000011,
keys::menu = 0x00000012,
keys::pause = 0x00000013,
keys::caps_lock = 0x00000014,
keys::capital = 0x00000014,
keys::kana_mode = 0x00000015,
keys::hanguel_mode = 0x00000015,
keys::hangul_mode = 0x00000015,
keys::junja_mode = 0x00000017,
keys::final_mode = 0x00000018,
keys::kanji_mode = 0x00000019,
keys::hanja_mode = 0x00000019,
keys::escape = 0x0000001B,
keys::ime_convert = 0x0000001C,
keys::ime_nonconvert = 0x0000001D,
keys::ime_accept = 0x0000001E,
keys::ime_mode_change = 0x0000001F,
keys::space = 0x00000020,
keys::page_up = 0x00000021,
keys::prior = 0x00000021,
keys::page_down = 0x00000022,
keys::next = 0x00000022,
keys::end = 0x00000023,
keys::home = 0x00000024,
keys::left = 0x00000025,
keys::up = 0x00000026,
keys::right = 0x00000027,
keys::down = 0x00000028,
keys::select = 0x00000029,
keys::print = 0x0000002A,
keys::execute = 0x0000002B,
keys::print_screen = 0x0000002C,
keys::snapshot = 0x0000002C,
keys::insert = 0x0000002D,
keys::del = 0x0000002E,
keys::help = 0x0000002F,
keys::d0 = 0x00000030,
keys::d1 = 0x00000031,
keys::d2 = 0x00000032,
keys::d3 = 0x00000033,
keys::d4 = 0x00000034,
keys::d5 = 0x00000035,
keys::d6 = 0x00000036,
keys::d7 = 0x00000037,
keys::d8 = 0x00000038,
keys::d9 = 0x00000039,
keys::a = 0x00000041,
keys::b = 0x00000042,
keys::c = 0x00000043,
keys::d = 0x00000044,
keys::e = 0x00000045,
keys::f = 0x00000046,
keys::g = 0x00000047,
keys::h = 0x00000048,
keys::i = 0x00000049,
keys::j = 0x0000004A,
keys::k = 0x0000004B,
keys::l = 0x0000004C,
keys::m = 0x0000004D,
keys::n = 0x0000004E,
keys::o = 0x0000004F,
keys::p = 0x00000050,
keys::q = 0x00000051,
keys::r = 0x00000052,
keys::s = 0x00000053,
keys::t = 0x00000054,
keys::u = 0x00000055,
keys::v = 0x00000056,
keys::w = 0x00000057,
keys::x = 0x00000058,
keys::y = 0x00000059,
keys::z = 0x0000005A,
keys::lwin = 0x0000005B,
keys::rwin = 0x0000005C,
keys::apps = 0x0000005D,
keys::sleep = 0x0000005F,
keys::num_pad0 = 0x00000060,
keys::num_pad1 = 0x00000061,
keys::num_pad2 = 0x00000062,
keys::num_pad3 = 0x00000063,
keys::num_pad4 = 0x00000064,
keys::num_pad5 = 0x00000065,
keys::num_pad6 = 0x00000066,
keys::num_pad7 = 0x00000067,
keys::num_pad8 = 0x00000068,
keys::num_pad9 = 0x00000069,
keys::multiply = 0x0000006A,
keys::add = 0x0000006B,
keys::separator = 0x0000006C,
keys::subtract = 0x0000006D,
keys::decimal = 0x0000006E,
keys::divide = 0x0000006F,
keys::f1 = 0x00000070,
keys::f2 = 0x00000071,
keys::f3 = 0x00000072,
keys::f4 = 0x00000073,
keys::f5 = 0x00000074,
keys::f6 = 0x00000075,
keys::f7 = 0x00000076,
keys::f8 = 0x00000077,
keys::f9 = 0x00000078,
keys::f10 = 0x00000079,
keys::f11 = 0x0000007A,
keys::f12 = 0x0000007B,
keys::f13 = 0x0000007C,
keys::f14 = 0x0000007D,
keys::f15 = 0x0000007E,
keys::f16 = 0x0000007F,
keys::f17 = 0x00000080,
keys::f18 = 0x00000081,
keys::f19 = 0x00000082,
keys::f20 = 0x00000083,
keys::f21 = 0x00000084,
keys::f22 = 0x00000085,
keys::f23 = 0x00000086,
keys::f24 = 0x00000087,
keys::num_lock = 0x00000090,
keys::scroll = 0x00000091,
keys::lshift_key = 0x000000A0,
keys::rshift_key = 0x000000A1,
keys::lcontrol_key = 0x000000A2,
keys::rcontrol_key = 0x000000A3,
keys::lmenu = 0x000000A4,
keys::rmenu = 0x000000A5,
keys::browser_back = 0x000000A6,
keys::browser_forward = 0x000000A7,
keys::browser_refresh = 0x000000A8,
keys::browser_stop = 0x000000A9,
keys::browser_search = 0x000000AA,
keys::browser_favorites = 0x000000AB,
keys::browser_home = 0x000000AC,
keys::volume_mute = 0x000000AD,
keys::volume_down = 0x000000AE,
keys::volume_up = 0x000000AF,
keys::media_next_track = 0x000000B0,
keys::media_previous_track = 0x000000B1,
keys::media_stop = 0x000000B2,
keys::media_play_pause = 0x000000B3,
keys::launch_mail = 0x000000B4,
keys::select_media = 0x000000B5,
keys::launch_application1 = 0x000000B6,
keys::launch_application2 = 0x000000B7,
keys::oem1 = 0x000000BA,
keys::oem_semicolon = 0x000000BA,
keys::oem_plus = 0x000000BB,
keys::oem_comma = 0x000000BC,
keys::oem_minus = 0x000000BD,
keys::oem_period = 0x000000BE,
keys::oem2 = 0x000000BF,
keys::oem_question = 0x000000BF,
keys::oem3 = 0x000000C0,
keys::oem_tilde = 0x000000C1,
keys::oem4 = 0x000000DB,
keys::oem_open_brackets = 0x000000DB,
keys::oem5 = 0x000000DC,
keys::oem_pipe = 0x000000DC,
keys::oem6 = 0x000000DD,
keys::oem_close_brackets = 0x000000DD,
keys::oem7 = 0x000000DE,
keys::oem_quotes = 0x000000DE,
keys::oem8 = 0x000000DF,
keys::oem102 = 0x000000DF,
keys::oem_backslash = 0x000000DF,
keys::process_key = 0x000000E5,
keys::packet = 0x000000E7,
keys::attn = 0x000000F6,
keys::crsel = 0x000000F7,
keys::exsel = 0x000000F8,
keys::erase_eof = 0x000000F9,
keys::play = 0x000000FA,
keys::zoom = 0x000000FB,
keys::no_name = 0x000000FC,
keys::pa1 = 0x000000FD,
keys::oem_clear = 0x000000FE,
keys::command_key = 0x00000100,
keys::lcommand_key = 0x00000101,
keys::rcommand_key = 0x00000102,
keys::shift = 0x00010000,
keys::control = 0x00020000,
keys::alt = 0x00040000,
keys::command = 0x00080000,
keys::key_code = 0x0000FFFF,
keys::modifiers = 0xFFFF0000
} |
| Specifies key codes and modifiers. More...
|
|
enum | lcd_style {
standard,
seven_segments
} |
|
enum | message_box_buttons {
message_box_buttons::ok = 0,
message_box_buttons::ok_cancel = 1,
message_box_buttons::abort_retry_ignore = 2,
message_box_buttons::yes_no_cancel = 3,
message_box_buttons::yes_no = 4,
message_box_buttons::retry_cancel = 5
} |
| Specifies constants defining which buttons to display on a message_box. More...
|
|
enum | message_box_default_button {
message_box_default_button::button1 = 0,
message_box_default_button::button2 = 0x00000100L,
message_box_default_button::button3 = 0x00000200L
} |
| Specifies constants defining the default button on a message_box. More...
|
|
enum | message_box_icon {
message_box_icon::none = 0,
message_box_icon::hand = 0x00000010L,
message_box_icon::stop = 0x00000010L,
message_box_icon::error = 0x00000010L,
message_box_icon::question = 0x00000020L,
message_box_icon::exclamation = 0x00000030L,
message_box_icon::warning = 0x00000030L,
message_box_icon::asterisk = 0x00000040L,
message_box_icon::information = 0x00000040L
} |
| Specifies constants defining which information to display. More...
|
|
enum | message_box_options {
message_box_options::default_desktop_only = 0x00020000L,
message_box_options::right_align = 0x00080000L,
message_box_options::rtl_reading = 0x00100000L,
message_box_options::service_notification = 0x00200000L
} |
| Specifies options on a message_box. More...
|
|
enum | mouse_buttons {
mouse_buttons::none = 0,
mouse_buttons::left = 0x100000,
mouse_buttons::right = 0x200000,
mouse_buttons::middle = 0x400000,
mouse_buttons::x_button1 = 0x800000,
mouse_buttons::x_button2 = 0x1000000
} |
| Specifies constants that define which mouse button was pressed. More...
|
|
enum | orientation {
orientation::horzontal = 0,
orientation::vertical = 1
} |
| Specifies the orientation of controls or elements of controls. More...
|
|
enum | picture_box_size_mode {
picture_box_size_mode::normal = 0,
picture_box_size_mode::stretch_image = 1,
picture_box_size_mode::auto_size = 2,
picture_box_size_mode::center_image = 3,
picture_box_size_mode::zoom = 4
} |
| Specifies how an image is positioned within a picture_box. More...
|
|
enum | progress_bar_style {
progress_bar_style::blocks = 0,
progress_bar_style::continuous = 1,
progress_bar_style::marquee = 2
} |
| Specifies the progress_bar_style of controls or elements of controls. More...
|
|
enum | selection_mode {
selection_mode::none = 0,
selection_mode::one = 1,
selection_mode::multi_simple = 2,
selection_mode::multi_extended = 3
} |
| Specifies the selection behavior of a list box. More...
|
|
enum | tab_alignment {
tab_alignment::top = 0,
tab_alignment::bottom = 1,
tab_alignment::left = 2,
tab_alignment::right = 3
} |
| Specifies the locations of the tabs in a tab control. More...
|
|
enum | tick_style {
tick_style::none = 0,
tick_style::top_left = 1,
tick_style::bottom_right = 2,
tick_style::both = 3
} |
| Specifies the location of tick marks in a Ttack_bar control. More...
|
|
The xtd::forms namespace contains classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows operating system, Apple macOS and Linux like Ubuntu operating system.
The Switch::System::Windows::Forms namespace contains classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows operating system, Apple macOS and Linux like Ubuntu operating system.