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

Definition

The xtd.forms library 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.

Classes

class  xtd::forms::xtd_about_box
 Represents a dialog box that displays about box. More...
 
class  xtd::forms::xtd_about_dialog
 Represents a dialog box that displays about dialog. More...
 
class  xtd::toolkit
 Represents a toolkit. More...
 
class  xtd::forms::about_box
 Represents a dialog box that displays about box. More...
 
class  xtd::forms::about_dialog
 Represents a dialog box that displays about dialog. More...
 
class  xtd::forms::animation
 Represents an animation control. More...
 
class  xtd::forms::animation_updated_event_args
 Provides data for the animation update event. More...
 
class  xtd::forms::application
 Provides static methods and properties to manage an application, such as methods to start and stop an application, to process Windows messages, and methods to get information about an application. This class cannot be inherited. More...
 
class  xtd::forms::application_context
 Specifies the contextual information about an application thread. More...
 
class  xtd::forms::assert_box
 Represents a common dialog box that displays assert box. More...
 
class  xtd::forms::assert_dialog
 Represents a common dialog box that displays assert dialog. More...
 
class  xtd::forms::background_worker
 Executes an operation on a separate thread. More...
 
class  xtd::forms::box_renderer
 Provides methods used to render a box with or without style sheets. More...
 
class  xtd::forms::busy_box
 Represents a dialog box that displays busy box. More...
 
class  xtd::forms::busy_dialog
 Represents a dialog box that displays busy dialog. More...
 
class  xtd::forms::button
 Represents a Windows button control. More...
 
class  xtd::forms::button_base
 Implements the basic functionality common to button controls. More...
 
class  xtd::forms::button_images
 Provides a button images factories for use by a button control. More...
 
class  xtd::forms::button_renderer
 Provides button control renderer methods. More...
 
class  xtd::forms::buttons
 Provides a collection of button objects for use by a Windows Forms application. More...
 
class  xtd::forms::cancel_event_args
 Provides data for a cancelable event. More...
 
class  xtd::forms::check_box
 Represents a Windows check_box. More...
 
class  xtd::forms::check_box_renderer
 Provides check box renderer methods. More...
 
class  xtd::forms::check_boxes
 Provides a collection of check_box objects for use by a Windows Forms application. More...
 
class  xtd::forms::checked_list_box
 Displays a xtd::forms::list_box in which a check box is displayed to the left of each item. More...
 
class  xtd::forms::choice
 Represents a choice control. More...
 
class  xtd::forms::collapsible_panel
 Used to group collections of controls in a collapsible panel. More...
 
class  xtd::forms::color_box
 Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors. More...
 
class  xtd::forms::color_dialog
 Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors. More...
 
class  xtd::forms::color_picker
 Represents a picker control that displays available colors along with controls that enable the user to define custom colors. More...
 
class  xtd::forms::color_picker_event_args
 Provides data for the xtd::forms::color_picker::color_picker_changed event. More...
 
class  xtd::forms::combo_box
 Represents a Windows combo box control. More...
 
class  xtd::forms::command_link_button
 Represents a Windows command link button control. More...
 
class  xtd::forms::command_link_buttons
 Provides a collection of command_link_button objects for use by a Windows Forms application. More...
 
class  xtd::forms::common_dialog
 Specifies the base class used for displaying dialog boxes on the screen. More...
 
class  xtd::forms::component
 Provides the base implementation and enables object sharing between applications. More...
 
struct  xtd::forms::const_control_ref_less
 Represents less comparator for const const_control_ref. More...
 
struct  xtd::forms::const_tab_page_ref_less
 Represents less comparator for const const_tab_page_ref. More...
 
class  xtd::forms::container_control
 Provides focus-management functionality for controls that can function as a container for other controls. More...
 
class  xtd::forms::context_menu
 Represents a shortcut menu. More...
 
class  xtd::forms::control
 Defines the base class for controls, which are components with visual representation. 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::control_layout_style
 Implements the basic functionality that represents the appearance and behavior of a control layout. More...
 
class  xtd::forms::control_paint
 Provides methods used to paint common Windows controls and their elements. This class cannot be inherited. More...
 
struct  xtd::forms::control_ref_less
 Represents less comparator for control_ref. More...
 
class  xtd::forms::control_renderer
 Provides control renderer methods. More...
 
class  xtd::forms::control_trace_listener
 Directs tracing or debugging output to a icontrol_trace object. More...
 
class  xtd::forms::countries
 Provides a collection of xtd::forms::country for all countries in the world. This class cannot be inherited. More...
 
class  xtd::forms::country
 Represent a country with name, alpha codes, numeric code, emoticon and flag. More...
 
class  xtd::forms::create_params
 Encapsulates the information needed when creating a control. More...
 
class  xtd::forms::cursor
 Represents the image used to paint the mouse pointer. More...
 
class  xtd::forms::cursors
 Provides a collection of xtd::forms::cursor objects for use by a Windows Forms application. 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::date_time_picker
 Represents a picker control that displays available date time along with controls. More...
 
class  xtd::forms::debug_form
 Represents a form that displays debug form. This class cannot be inherited. More...
 
class  xtd::forms::debug_message_box
 Displays a dialog box and write debug. More...
 
class  xtd::forms::debug_message_dialog
 Displays a message window and write debug, which presents a debug message to the user. 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::domain_up_down
 Represents a Windows spin box (also known as an up-down control) that displays string values. More...
 
class  xtd::forms::dot_matrix_display
 Represents a dot matrix display class. More...
 
class  xtd::forms::draw_item_event_args
 Provides data for the. More...
 
class  xtd::forms::emoticon
 Represent a emoticon with name and codepoints. More...
 
class  xtd::forms::emoticons
 Provides a collection of xtd::forms:emoticon for all known emoticons. This class cannot be inherited. More...
 
class  xtd::forms::enable_debug
 Represent enable debug class. More...
 
class  xtd::forms::exception_box
 Represents a common dialog box that displays exception box. More...
 
class  xtd::forms::exception_dialog
 Represents a common dialog box that displays exception dialog. More...
 
class  xtd::forms::file_dialog
 Displays a dialog box from which the user can select a file. More...
 
class  xtd::forms::find_box
 Represents a common dialog box that displays a find dialog. This class cannot be inherited. More...
 
class  xtd::forms::find_dialog
 Represents a dialog box that displays find dialog. 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::fixed_layout_panel
 Used to group collections of fixed aligned controls. More...
 
class  xtd::forms::flat_button_appearance
 Provides properties that specify the appearance of xtd::forms::button controls whose xtd::forms::flat_style is xtd::forms::flat_style::flat. More...
 
class  xtd::forms::flow_layout_panel
 Used to group collections of fixed aligned controls. More...
 
class  xtd::forms::folder_browser_box
 Represents a common dialog box that displays a folder browser dialog. This class cannot be inherited. More...
 
class  xtd::forms::folder_browser_dialog
 Prompts the user to select a folder. This class cannot be inherited. More...
 
class  xtd::forms::font_box
 Represents a common dialog box that displays a dialog to the user to choose a font from among those installed on the local computer. More...
 
class  xtd::forms::font_dialog
 Prompts the user to choose a font from among those installed on the local computer. More...
 
class  xtd::forms::font_picker
 Represents a picker control that displays available fonts along with controls. 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
 Represents a window or dialog box that makes up an application's user interface. More...
 
class  xtd::forms::form_button_images
 Provides a form button images factories for use by a form control. 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::form_renderer
 Provides form control renderer methods. More...
 
class  xtd::forms::fourteen_segment_display
 Represents a nine segment display class. More...
 
class  xtd::forms::group_box
 Represents a Windows control that displays a frame around a group of controls with an optional caption. More...
 
class  xtd::forms::h_scroll_bar
 Represents a standard Windows horizontal scroll bar. 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::horizontal_control_layout_style
 Implements the basic functionality that represents the appearance and behavior of a control layout. More...
 
class  xtd::forms::horizontal_layout_panel
 Used to group collections of horizontally aligned controls. More...
 
class  xtd::forms::ibutton_control
 Allows a control to act like a button on a form. More...
 
class  xtd::forms::icontrol_trace
 Allow a control to be called by control_trace_listener for writing debug or trace message. More...
 
class  xtd::forms::image_list
 Provides methods to manage a collection of xtd::drawing::image objects. This class cannot be inherited. More...
 
class  xtd::forms::image_renderer
 Provides image renderer methods. More...
 
class  xtd::forms::images
 Provides images factories for use by control. More...
 
class  xtd::forms::imessage_filter
 Defines a message filter interface. More...
 
class  xtd::forms::input_box
 Represents a common dialog box that displays input box. More...
 
class  xtd::forms::input_dialog
 Represents a common dialog box that displays input dialog. 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::iwin32_window
 Provides an interface to expose Win32 HWND handles. 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::label
 Represents a standard Windows label. More...
 
class  xtd::forms::label_renderer
 Provides label control renderer methods. More...
 
class  xtd::forms::labels
 Provides a collection of label objects for use by a Windows Forms application. More...
 
class  xtd::forms::layout::arranged_element_collection< type_t, sorter_t >
 Represents a collection of objects. More...
 
class  xtd::forms::layout::sorter_none
 Represents a sorter none of objects. More...
 
class  xtd::forms::lcd_label
 Represents a lcd label. More...
 
class  xtd::forms::light_button
 Represents a Windows light_button. More...
 
class  xtd::forms::light_buttons
 Provides a collection of light_button objects for use by a Windows Forms application. More...
 
class  xtd::forms::link
 Represents a link within a xtd::forms::link_label control. More...
 
struct  xtd::forms::link_area
 Represents an area within a xtd::forms::link_label control that represents a hyperlink within the control. More...
 
class  xtd::forms::link_label
 Represents a Windows label control that can display hyperlinks. More...
 
class  xtd::forms::link_label_clicked_event_args
 Represents a Windows label control that can display hyperlinks. More...
 
class  xtd::forms::list_box
 Represents a standard Windows list box. More...
 
class  xtd::forms::list_control
 Provides a common implementation of members for the list_box, choice and combo_box classes. More...
 
class  xtd::forms::loading_indicator
 Represents a loading indicator control. More...
 
class  xtd::forms::loading_indicators
 Provides a collection of loading indicator objects for use by a Windows Forms application. More...
 
class  xtd::forms::main_menu
 Represents the menu structure of a form. More...
 
class  xtd::forms::menu
 Represents the base functionality for all menus. Although tool_strip_drop_down and tool_strip_drop_down_menu replace and add functionality to the menu control of previous versions, menu is retained for both backward compatibility and future use if you choose. More...
 
class  xtd::forms::menu_images
 Provides a menu images factories for use by a menu control. More...
 
class  xtd::forms::menu_item
 Represents an individual item that is displayed within a main_menu or context_menu. More...
 
class  xtd::forms::message
 Implements a Windows message. More...
 
class  xtd::forms::message_box
 Displays a message window, also known as a dialog box, which presents a message to the user. It is a modal window, blocking other actions in the application until the user closes it. A message_box can contain text, buttons, and symbols that inform and instruct the user. More...
 
class  xtd::forms::message_dialog
 Displays a message window, also known as a dialog box, which presents a message to the user. It is a modal window, blocking other actions in the application until the user closes it. A message_dialog can contain text, buttons, and symbols that inform and instruct the user. More...
 
class  xtd::forms::month_calendar
 Represents a control that displays a month calendar. 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::nine_segment_display
 Represents a nine segment display class. More...
 
class  xtd::forms::numeric_up_down
 Represents a standard Windows numeric up down. More...
 
class  xtd::forms::open_file_box
 Represents a common dialog box that displays a file selection dialog. This class cannot be inherited. More...
 
class  xtd::forms::open_file_dialog
 Displays a standard dialog box that prompts the user to open a file. This class cannot be inherited. More...
 
class  xtd::forms::padding
 Represents a display device or multiple display devices on a single system. More...
 
class  xtd::forms::paint_event_args
 Provides data for the xtd::forms::control::paint event. More...
 
class  xtd::forms::panel
 Used to group collections of controls. More...
 
class  xtd::forms::panel_renderer
 Provides panel control renderer methods. More...
 
class  xtd::forms::picture_box
 Represents a standard Windows picture box. More...
 
class  xtd::forms::popup_panel
 Represents a special type of panel container that can be used for context menus, combo_box popups and more. More...
 
class  xtd::forms::power_status
 Indicates current system power status information. More...
 
class  xtd::forms::progress_bar
 Represents a Windows progress bar control. More...
 
class  xtd::forms::progress_box
 Represents a common dialog box that displays a progress dialog. More...
 
class  xtd::forms::progress_changed_event_args
 Provides data for the xtd::forms::background_worker::progress_changed event handler. More...
 
class  xtd::forms::progress_dialog
 Represents a common dialog box that displays progress dialog. More...
 
class  xtd::forms::properties::resources
 A strongly-typed resource class, for looking up localized strings, etc. More...
 
class  xtd::forms::radio_button
 Enables the user to select a single option from a group of choices when paired with other xtd::forms::radio_button controls. More...
 
class  xtd::forms::radio_button_renderer
 Provides radio button renderer methods. More...
 
class  xtd::forms::radio_buttons
 Provides a collection of radio_button objects for use by a Windows Forms application. More...
 
class  xtd::forms::renderer
 Provides control renderers methods. More...
 
class  xtd::forms::replace_box
 Represents a common dialog box that displays a replace dialog. This class cannot be inherited. More...
 
class  xtd::forms::replace_dialog
 Represents a dialog box that displays find dialog. 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::save_file_box
 Represents a common dialog box that displays a file save dialog to the user to select a location for saving a file. More...
 
class  xtd::forms::save_file_dialog
 Prompts the user to select a location for saving a file. This class cannot be inherited. More...
 
class  xtd::forms::screen
 Represents a display device or multiple display devices on a single system. More...
 
class  xtd::forms::scroll_bar
 Represents a standard Windows scroll bar. More...
 
class  xtd::forms::scrollable_control
 Defines a base class for controls that support auto-scrolling behavior. More...
 
class  xtd::forms::selection_range
 Represents a date selection range in a month calendar control. More...
 
class  xtd::forms::seven_segment_display
 Represents a seven segment display class. More...
 
class  xtd::forms::shadow
 Represents a shadow within a xtd::forms::shadow_label control. More...
 
class  xtd::forms::sixteen_segment_display
 Represents a sixteen segment display class. More...
 
class  xtd::forms::split_container
 Represents a control consisting of a movable bar that divides a container's display area into two resizable panels. More...
 
class  xtd::forms::splitter
 Represents a splitter control that enables the user to resize docked controls. More...
 
class  xtd::forms::splitter_panel
 Creates a panel that is associated with a split_container. More...
 
class  xtd::forms::status_bar
 Represents a Windows status bar control. 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
 Represents a xtd::forms::status_bar panel. 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::status_bar_panel_renderer
 Provides status bar panel renderer methods. More...
 
class  xtd::forms::status_bar_renderer
 Provides status_bar control renderer methods. More...
 
class  xtd::forms::style_sheets::background_image
 The image data allows you to specify the url or gradient mode. More...
 
class  xtd::forms::style_sheets::border_color
 The xtd::forms::style_sheets::border_color is used to set the color of the borders. More...
 
class  xtd::forms::style_sheets::border_radius
 The radius is used to add rounded borders to an element. More...
 
class  xtd::forms::style_sheets::border_style
 The style specifies what kind of borders to display. More...
 
class  xtd::forms::style_sheets::control
 The control selector allows you to specify the box and color of a control. More...
 
class  xtd::forms::style_sheets::ibox_model
 The box model allows you to specify the margin, borders, padding, background color, width and height of a box. More...
 
class  xtd::forms::style_sheets::iimage_model
 The image model allows you to specify the alignment of an image. More...
 
class  xtd::forms::style_sheets::itext_model
 The text model allows you to specify the alignment, color, decoration, transformation, and font of a text. More...
 
class  xtd::forms::style_sheets::length
 The xtd::forms::style_sheets::length specifies the legth and unit of many properties of the xtd::forms::style_sheets::ibox_model. More...
 
class  xtd::forms::style_sheets::lengths
 The length specifies the length of the borders. More...
 
class  xtd::forms::style_sheets::shadow
 The style specifies the shadow of text and elements. More...
 
class  xtd::forms::style_sheets::style_sheet
 The xtd::forms::style_sheets::style_sheet allows you to specify an xtd style sheet. More...
 
class  xtd::forms::style_sheets::system_colors
 The theme data allows you to specify the theme informations. More...
 
class  xtd::forms::style_sheets::theme
 The theme data allows you to specify the theme informations. More...
 
class  xtd::forms::switch_button
 Represents a standard Windows switch button. More...
 
class  xtd::forms::switch_button_renderer
 Provides switch button renderer methods. More...
 
class  xtd::forms::system_information
 Provides information about the current system environment. More...
 
class  xtd::forms::tab_control
 Manages a related set of tab pages. More...
 
class  xtd::forms::tab_page
 Represents a single tab page in a tab_control. More...
 
struct  xtd::forms::tab_page_ref_less
 Represents less comparator for tab_page_ref. More...
 
class  xtd::forms::table_layout_panel
 Used to group collections of fixed aligned controls. More...
 
class  xtd::forms::text_box
 Represents a standard Windows text box. More...
 
class  xtd::forms::text_box_base
 Implements the basic functionality required by text controls. More...
 
class  xtd::forms::text_renderer
 Provides methods used to render a text with style sheets. More...
 
class  xtd::forms::timer
 Implements a timer that raises an event at user-defined intervals. This timer is optimized for use in Windows Forms applications and must be used in a window. More...
 
class  xtd::forms::toggle_button
 Represents a Windows toggle_button. More...
 
class  xtd::forms::toggle_button_renderer
 Provides xtd::forms::toggle_button renderer methods. More...
 
class  xtd::forms::toggle_buttons
 Provides a collection of toggle_button objects for use by a Windows Forms application. More...
 
class  xtd::forms::tool_bar
 Represents a Windows toolbar. More...
 
class  xtd::forms::tool_bar_button
 Represents a toolbar button. More...
 
class  xtd::forms::tool_bar_button_click_event_args
 Provides data for the xtd::forms::tool_bar::button_click event. More...
 
class  xtd::forms::tool_bar_button_renderer
 Provides tool bar button renderer methods. More...
 
class  xtd::forms::tool_bar_images
 Provides a tool bar images factories for use by a tool_bar control. More...
 
class  xtd::forms::tool_bar_renderer
 Provides tool_bar control renderer methods. More...
 
class  xtd::forms::trace_form
 Represents a form that displays trace form. This class cannot be inherited. More...
 
class  xtd::forms::trace_form_base
 Represents a base form for debug_form and trace_form forms. This class cannot be instantiated. More...
 
class  xtd::forms::trace_message_box
 Displays a dialog box and write trace. More...
 
class  xtd::forms::trace_message_dialog
 Displays a message window and write debug, which presents a debug message to the user. More...
 
class  xtd::forms::track_bar
 Represents a standard Windows track bar. More...
 
class  xtd::forms::up_down_base
 Implements the basic functionality required by a spin box (also known as an up-down control). More...
 
class  xtd::forms::up_down_button
 Represents a standard Windows up down button. More...
 
class  xtd::forms::use_wait_cursor
 Creates a use wait cursor class. More...
 
class  xtd::forms::user_control
 Represents a standard Windows user control. More...
 
class  xtd::forms::user_control_renderer
 Provides control renderer methods. More...
 
class  xtd::forms::v_scroll_bar
 Represents a standard Windows horizontal scroll bar. More...
 
class  xtd::forms::vertical_control_layout_style
 Implements the basic functionality that represents the appearance and behavior of a control layout. More...
 
class  xtd::forms::vertical_layout_panel
 Used to group collections of vertically aligned controls. More...
 

Typedefs

using xtd::forms::const_control_ref = std::reference_wrapper< const control >
 Represents a const control reference.
 
using xtd::forms::const_form_ref = std::reference_wrapper< const form >
 Represents a const xtd::forms::form reference.
 
using xtd::forms::const_menu_item_ref = std::reference_wrapper< const menu_item >
 Represents a menu item reference.
 
using xtd::forms::const_tab_page_ref = std::reference_wrapper< const tab_page >
 Represents a const tab_page reference.
 
using xtd::forms::control_ref = std::reference_wrapper< control >
 Represents a control reference.
 
using xtd::forms::dialog_appearance = control_appearance
 Specifies the appearance of a dialog.
 
using xtd::forms::form_collection = std::vector< std::reference_wrapper< form > >
 Represents a collection of form objects.
 
using xtd::forms::form_ref = std::reference_wrapper< form >
 Represent an xtd::forms::form reference.
 
using xtd::forms::horizontal_control_layout_style_collection = std::vector< xtd::collections::generic::key_value_pair< control_ref, horizontal_control_layout_style > >
 A collection that stores horizontal_control_layout_style objects.
 
using xtd::forms::menu_item_ref = std::reference_wrapper< menu_item >
 Represents a menu item reference.
 
using xtd::forms::message_box_buttons = message_dialog_buttons
 Specifies constants defining which buttons to display on a message_box.
 
using xtd::forms::message_box_default_button = message_dialog_default_button
 Specifies constants defining the default button on a message_box.
 
using xtd::forms::message_box_icon = message_dialog_icon
 Specifies constants defining which information to display.
 
using xtd::forms::message_box_options = message_dialog_options
 Specifies options on a message_box.
 
using xtd::forms::notifier_appearance = control_appearance
 Specifies the appearance of a notifier.
 
using xtd::forms::shadows = std::vector< xtd::forms::shadow >
 Represents an xtd::forms::shadow array.
 
using xtd::forms::status_bar_panel_ref = std::reference_wrapper< status_bar_panel >
 Represents a xtd::forms::status_bar_item reference.
 
using xtd::forms::style_sheets::shadows = std::vector< xtd::forms::style_sheets::shadow >
 Represents an xtd::forms::style_sheets::shadow array.
 
using xtd::forms::tab_page_ref = std::reference_wrapper< tab_page >
 Represents a tab_page reference.
 
using xtd::forms::tool_bar_button_ref = std::reference_wrapper< tool_bar_button >
 Represents a xtd::forms::tool_bar_item reference.
 
using xtd::forms::vertical_control_layout_style_collection = std::vector< xtd::collections::generic::key_value_pair< control_ref, vertical_control_layout_style > >
 A collection that stores vertical_control_layout_style objects.
 
using xtd::forms::visual_styles::form_state = control_state
 Specifies the visual state of a form that is drawn with visual styles.
 
using xtd::forms::visual_styles::label_state = control_state
 Specifies the visual state of a label that is drawn with visual styles.
 
using xtd::forms::visual_styles::link_label_state = control_state
 Specifies the visual state of a link label that is drawn with visual styles.
 
using xtd::forms::visual_styles::panel_state = control_state
 Specifies the visual state of a panel that is drawn with visual styles.
 
using xtd::forms::visual_styles::tool_bar_state = control_state
 Specifies the visual state of a tool_bar that is drawn with visual styles.
 
using xtd::forms::visual_styles::user_control_state = control_state
 Specifies the visual state of a user control that is drawn with visual styles.
 

Enumerations

enum class  xtd::forms::anchor_styles {
  xtd::forms::anchor_styles::none ,
  xtd::forms::anchor_styles::top ,
  xtd::forms::anchor_styles::bottom ,
  xtd::forms::anchor_styles::left ,
  xtd::forms::anchor_styles::right ,
  xtd::forms::anchor_styles::all
}
 Specifies how a control anchors to the edges of its container. More...
 
enum class  xtd::forms::appearance {
  xtd::forms::appearance::normal ,
  xtd::forms::appearance::button ,
  xtd::forms::appearance::switch_button
}
 Specifies the appearance of a control. More...
 
enum class  xtd::forms::arrange_direction {
  xtd::forms::arrange_direction::down ,
  xtd::forms::arrange_direction::left ,
  xtd::forms::arrange_direction::right ,
  xtd::forms::arrange_direction::up
}
 Specifies the direction the system uses to arrange minimized windows. More...
 
enum class  xtd::forms::arrange_starting_position {
  xtd::forms::arrange_starting_position::bottom_left ,
  xtd::forms::arrange_starting_position::bottom_right ,
  xtd::forms::arrange_starting_position::top_left ,
  xtd::forms::arrange_starting_position::top_right ,
  xtd::forms::arrange_starting_position::hide
}
 Specifies the starting position that the system uses to arrange minimized windows. More...
 
enum class  xtd::forms::auto_size_mode {
  xtd::forms::auto_size_mode::grow_and_shrink ,
  xtd::forms::auto_size_mode::grow_only
}
 Specifies how a control will behave when its auto_size property is enabled. More...
 
enum class  xtd::forms::battery_charge_status {
  xtd::forms::battery_charge_status::high ,
  xtd::forms::battery_charge_status::low ,
  xtd::forms::battery_charge_status::critical ,
  xtd::forms::battery_charge_status::charging ,
  xtd::forms::battery_charge_status::no_system_battery ,
  xtd::forms::battery_charge_status::unknown
}
 Defines identifiers that indicate the current battery charge level or charging state information. This enumeration supports a bitwise combination of its member values. More...
 
enum class  xtd::forms::boot_mode {
  xtd::forms::boot_mode::normal ,
  xtd::forms::boot_mode::fail_safe ,
  xtd::forms::boot_mode::fail_safe_with_network
}
 Specifies the mode to start the computer in. More...
 
enum class  xtd::forms::border_sides {
  xtd::forms::border_sides::none ,
  xtd::forms::border_sides::top ,
  xtd::forms::border_sides::bottom ,
  xtd::forms::border_sides::left ,
  xtd::forms::border_sides::right ,
  xtd::forms::border_sides::all
}
 Specifies how a control anchors to the edges of its container. More...
 
enum class  xtd::forms::border_style {
  xtd::forms::border_style::none ,
  xtd::forms::border_style::hidden ,
  xtd::forms::border_style::solid ,
  xtd::forms::border_style::inset ,
  xtd::forms::border_style::outset ,
  xtd::forms::border_style::groove ,
  xtd::forms::border_style::ridge ,
  xtd::forms::border_style::theme ,
  xtd::forms::border_style::dashed ,
  xtd::forms::border_style::dot_dash ,
  xtd::forms::border_style::dot_dot_dash ,
  xtd::forms::border_style::dotted ,
  xtd::forms::border_style::double_border ,
  xtd::forms::border_style::bevel_inset ,
  xtd::forms::border_style::bevel_outset ,
  xtd::forms::border_style::rounded ,
  xtd::forms::border_style::fixed_single ,
  xtd::forms::border_style::fixed_3d ,
  xtd::forms::border_style::sunken ,
  xtd::forms::border_style::raised ,
  xtd::forms::border_style::bevel_sunken ,
  xtd::forms::border_style::bevel_raised
}
 Specifies the border style for a control. More...
 
enum class  xtd::forms::bounds_specified {
  xtd::forms::bounds_specified::none ,
  xtd::forms::bounds_specified::x ,
  xtd::forms::bounds_specified::y ,
  xtd::forms::bounds_specified::location ,
  xtd::forms::bounds_specified::width ,
  xtd::forms::bounds_specified::height ,
  xtd::forms::bounds_specified::size ,
  xtd::forms::bounds_specified::all
}
 Specifies the bounds of the control to use when defining a control's size and position. This enumeration has a flags attribute that allows a bitwise combination of its member values. More...
 
enum class  xtd::forms::button_state {
  xtd::forms::button_state::normal ,
  xtd::forms::button_state::inactive ,
  xtd::forms::button_state::pushed ,
  xtd::forms::button_state::checked ,
  xtd::forms::button_state::flat ,
  xtd::forms::button_state::all
}
 Specifies the appearance of a button. More...
 
enum class  xtd::forms::character_casing {
  xtd::forms::character_casing::normal ,
  xtd::forms::character_casing::upper ,
  xtd::forms::character_casing::lower
}
 Specifies the case of characters in a text_box control. More...
 
enum class  xtd::forms::check_state {
  xtd::forms::check_state::unchecked ,
  xtd::forms::check_state::checked ,
  xtd::forms::check_state::indeterminate
}
 Specifies the state of a control, such as a check box, that can be checked, unchecked, or set to an indeterminate state. More...
 
enum class  xtd::forms::close_reason {
  xtd::forms::close_reason::none ,
  xtd::forms::close_reason::windows_shut_down ,
  xtd::forms::close_reason::mdi_form_closing ,
  xtd::forms::close_reason::user_closing ,
  xtd::forms::close_reason::task_manager_closing ,
  xtd::forms::close_reason::form_owner_closing ,
  xtd::forms::close_reason::application_exit_call
}
 Specifies the reason that a form was closed. More...
 
enum class  xtd::forms::color_box_styles {
  xtd::forms::color_box_styles::none ,
  xtd::forms::color_box_styles::alpha_color ,
  xtd::forms::color_box_styles::allow_full_open ,
  xtd::forms::color_box_styles::any_color ,
  xtd::forms::color_box_styles::full_open ,
  xtd::forms::color_box_styles::show_help ,
  xtd::forms::color_box_styles::solid_color_only
}
 Specifies constants defining which color_box styles is used. More...
 
enum class  xtd::forms::combo_box_style {
  xtd::forms::combo_box_style::simple ,
  xtd::forms::combo_box_style::drop_down ,
  xtd::forms::combo_box_style::drop_down_list
}
 Specifies the combo_box style. More...
 
enum class  xtd::forms::content_alignment {
  xtd::forms::content_alignment::top_left ,
  xtd::forms::content_alignment::top_center ,
  xtd::forms::content_alignment::top_right ,
  xtd::forms::content_alignment::middle_left ,
  xtd::forms::content_alignment::middle_center ,
  xtd::forms::content_alignment::middle_right ,
  xtd::forms::content_alignment::bottom_left ,
  xtd::forms::content_alignment::bottom_center ,
  xtd::forms::content_alignment::bottom_right
}
 Specifies alignment of content on the drawing surface. More...
 
enum class  xtd::forms::control_appearance {
  xtd::forms::control_appearance::standard ,
  xtd::forms::control_appearance::system
}
 Specifies the appearance of a control. More...
 
enum class  xtd::forms::control_styles {
  xtd::forms::control_styles::none ,
  xtd::forms::control_styles::container_control ,
  xtd::forms::control_styles::user_paint ,
  xtd::forms::control_styles::opaque ,
  xtd::forms::control_styles::resize_redraw ,
  xtd::forms::control_styles::fixed_width ,
  xtd::forms::control_styles::fixed_height ,
  xtd::forms::control_styles::standard_click ,
  xtd::forms::control_styles::selectable ,
  xtd::forms::control_styles::user_mouse ,
  xtd::forms::control_styles::supports_transparent_back_color ,
  xtd::forms::control_styles::standard_double_click ,
  xtd::forms::control_styles::all_painting_in_wm_paint ,
  xtd::forms::control_styles::cache_text ,
  xtd::forms::control_styles::enable_notify_message ,
  xtd::forms::control_styles::double_buffer ,
  xtd::forms::control_styles::optimized_double_buffer ,
  xtd::forms::control_styles::use_text_for_accessibility
}
 Specifies the style and behavior of a control. More...
 
enum class  xtd::forms::date_time_picker_format {
  xtd::forms::date_time_picker_format::long_format ,
  xtd::forms::date_time_picker_format::short_format ,
  xtd::forms::date_time_picker_format::time ,
  xtd::forms::date_time_picker_format::custom
}
 Specifies the date and time format the date_time_picker control displays. More...
 
enum class  xtd::forms::day {
  xtd::forms::day::monday ,
  xtd::forms::day::tuesday ,
  xtd::forms::day::wednesday ,
  xtd::forms::day::thursday ,
  xtd::forms::day::friday ,
  xtd::forms::day::saturday ,
  xtd::forms::day::sunday ,
  xtd::forms::day::default_day
}
 Specifies the day of the week. More...
 
enum class  xtd::forms::dialog_result {
  xtd::forms::dialog_result::none ,
  xtd::forms::dialog_result::ok ,
  xtd::forms::dialog_result::cancel ,
  xtd::forms::dialog_result::abort ,
  xtd::forms::dialog_result::retry ,
  xtd::forms::dialog_result::ignore ,
  xtd::forms::dialog_result::yes ,
  xtd::forms::dialog_result::no
}
 Specifies identifiers to indicate the return value of a dialog box. More...
 
enum class  xtd::forms::dock_style {
  xtd::forms::dock_style::none ,
  xtd::forms::dock_style::top ,
  xtd::forms::dock_style::bottom ,
  xtd::forms::dock_style::left ,
  xtd::forms::dock_style::right ,
  xtd::forms::dock_style::fill
}
 Specifies the position and manner in which a control is docked. More...
 
enum class  xtd::forms::dot_matrix_style {
  xtd::forms::dot_matrix_style::round ,
  xtd::forms::dot_matrix_style::square ,
  xtd::forms::dot_matrix_style::standard
}
 Represent dot matrix style used by dot_matrix_display control. More...
 
enum class  xtd::forms::draw_item_state {
  xtd::forms::draw_item_state::none ,
  xtd::forms::draw_item_state::selected ,
  xtd::forms::draw_item_state::grayed ,
  xtd::forms::draw_item_state::disabled ,
  xtd::forms::draw_item_state::checked ,
  xtd::forms::draw_item_state::focus ,
  xtd::forms::draw_item_state::default_state ,
  xtd::forms::draw_item_state::hot_light ,
  xtd::forms::draw_item_state::inactive ,
  xtd::forms::draw_item_state::no_accelerator ,
  xtd::forms::draw_item_state::no_focus_rect ,
  xtd::forms::draw_item_state::combo_box_edit
}
 Specifies the state of an item that is being drawn. This enumeration supports a bitwise combination of its member values. More...
 
enum class  xtd::forms::flat_style {
  xtd::forms::flat_style::flat ,
  xtd::forms::flat_style::popup ,
  xtd::forms::flat_style::standard ,
  xtd::forms::flat_style::system
}
 Specifies the appearance of a control. More...
 
enum class  xtd::forms::font_box_options {
  xtd::forms::font_box_options::none ,
  xtd::forms::font_box_options::allow_simulations ,
  xtd::forms::font_box_options::allow_vector_fonts ,
  xtd::forms::font_box_options::allow_vertical_fonts ,
  xtd::forms::font_box_options::allow_script_change ,
  xtd::forms::font_box_options::fixed_pitch_only ,
  xtd::forms::font_box_options::scripts_only ,
  xtd::forms::font_box_options::show_apply ,
  xtd::forms::font_box_options::show_color ,
  xtd::forms::font_box_options::show_effects ,
  xtd::forms::font_box_options::show_help ,
  xtd::forms::font_box_options::all
}
 Specifies options on a xtd::forms::font_box. More...
 
enum class  xtd::forms::form_border_style {
  xtd::forms::form_border_style::none ,
  xtd::forms::form_border_style::fixed_single ,
  xtd::forms::form_border_style::fixed_3d ,
  xtd::forms::form_border_style::fixed_dialog ,
  xtd::forms::form_border_style::sizable ,
  xtd::forms::form_border_style::fixed_tool_window ,
  xtd::forms::form_border_style::sizable_tool_window
}
 Specifies the border styles for a form. More...
 
enum class  xtd::forms::form_start_position {
  xtd::forms::form_start_position::manual ,
  xtd::forms::form_start_position::center_screen ,
  xtd::forms::form_start_position::windows_default_location ,
  xtd::forms::form_start_position::windows_default_bounds ,
  xtd::forms::form_start_position::center_parent
}
 Specifies the initial position of a form. More...
 
enum class  xtd::forms::form_window_state {
  xtd::forms::form_window_state::normal ,
  xtd::forms::form_window_state::minimized ,
  xtd::forms::form_window_state::maximized ,
  xtd::forms::form_window_state::full_screen
}
 Specifies how a form window is displayed. More...
 
enum class  xtd::forms::horizontal_alignment {
  xtd::forms::horizontal_alignment::left ,
  xtd::forms::horizontal_alignment::right ,
  xtd::forms::horizontal_alignment::center
}
 Specifies how an object or text in a control is horizontally aligned relative to an element of the control. More...
 
enum class  xtd::forms::image_layout {
  xtd::forms::image_layout::none ,
  xtd::forms::image_layout::tile ,
  xtd::forms::image_layout::center ,
  xtd::forms::image_layout::stretch ,
  xtd::forms::image_layout::zoom
}
 Specifies the position of the image on the control. More...
 
enum class  xtd::forms::input_box_style {
  xtd::forms::input_box_style::normal ,
  xtd::forms::input_box_style::multiline ,
  xtd::forms::input_box_style::password
}
 Specifies constants defining which input_box style is used. More...
 
enum class  xtd::forms::keys : long long {
  xtd::forms::keys::none ,
  xtd::forms::keys::lbutton ,
  xtd::forms::keys::rbutton ,
  xtd::forms::keys::cancel ,
  xtd::forms::keys::mbutton ,
  xtd::forms::keys::xbutton1 ,
  xtd::forms::keys::xbutton2 ,
  xtd::forms::keys::back ,
  xtd::forms::keys::tab ,
  xtd::forms::keys::line_feed ,
  xtd::forms::keys::clear ,
  xtd::forms::keys::enter ,
  xtd::forms::keys::ret ,
  xtd::forms::keys::shift_key ,
  xtd::forms::keys::control_key ,
  xtd::forms::keys::menu ,
  xtd::forms::keys::pause ,
  xtd::forms::keys::caps_lock ,
  xtd::forms::keys::capital ,
  xtd::forms::keys::kana_mode ,
  xtd::forms::keys::hanguel_mode ,
  xtd::forms::keys::hangul_mode ,
  xtd::forms::keys::junja_mode ,
  xtd::forms::keys::final_mode ,
  xtd::forms::keys::kanji_mode ,
  xtd::forms::keys::hanja_mode ,
  xtd::forms::keys::escape ,
  xtd::forms::keys::ime_convert ,
  xtd::forms::keys::ime_nonconvert ,
  xtd::forms::keys::ime_accept ,
  xtd::forms::keys::ime_mode_change ,
  xtd::forms::keys::space ,
  xtd::forms::keys::page_up ,
  xtd::forms::keys::prior ,
  xtd::forms::keys::page_down ,
  xtd::forms::keys::next ,
  xtd::forms::keys::end ,
  xtd::forms::keys::home ,
  xtd::forms::keys::left ,
  xtd::forms::keys::up ,
  xtd::forms::keys::right ,
  xtd::forms::keys::down ,
  xtd::forms::keys::select ,
  xtd::forms::keys::print ,
  xtd::forms::keys::execute ,
  xtd::forms::keys::print_screen ,
  xtd::forms::keys::snapshot ,
  xtd::forms::keys::insert ,
  xtd::forms::keys::del ,
  xtd::forms::keys::help ,
  xtd::forms::keys::d0 ,
  xtd::forms::keys::d1 ,
  xtd::forms::keys::d2 ,
  xtd::forms::keys::d3 ,
  xtd::forms::keys::d4 ,
  xtd::forms::keys::d5 ,
  xtd::forms::keys::d6 ,
  xtd::forms::keys::d7 ,
  xtd::forms::keys::d8 ,
  xtd::forms::keys::d9 ,
  xtd::forms::keys::a ,
  xtd::forms::keys::b ,
  xtd::forms::keys::c ,
  xtd::forms::keys::d ,
  xtd::forms::keys::e ,
  xtd::forms::keys::f ,
  xtd::forms::keys::g ,
  xtd::forms::keys::h ,
  xtd::forms::keys::i ,
  xtd::forms::keys::j ,
  xtd::forms::keys::k ,
  xtd::forms::keys::l ,
  xtd::forms::keys::m ,
  xtd::forms::keys::n ,
  xtd::forms::keys::o ,
  xtd::forms::keys::p ,
  xtd::forms::keys::q ,
  xtd::forms::keys::r ,
  xtd::forms::keys::s ,
  xtd::forms::keys::t ,
  xtd::forms::keys::u ,
  xtd::forms::keys::v ,
  xtd::forms::keys::w ,
  xtd::forms::keys::x ,
  xtd::forms::keys::y ,
  xtd::forms::keys::z ,
  xtd::forms::keys::lwin ,
  xtd::forms::keys::rwin ,
  xtd::forms::keys::apps ,
  xtd::forms::keys::sleep ,
  xtd::forms::keys::num_pad0 ,
  xtd::forms::keys::num_pad1 ,
  xtd::forms::keys::num_pad2 ,
  xtd::forms::keys::num_pad3 ,
  xtd::forms::keys::num_pad4 ,
  xtd::forms::keys::num_pad5 ,
  xtd::forms::keys::num_pad6 ,
  xtd::forms::keys::num_pad7 ,
  xtd::forms::keys::num_pad8 ,
  xtd::forms::keys::num_pad9 ,
  xtd::forms::keys::multiply ,
  xtd::forms::keys::add ,
  xtd::forms::keys::separator ,
  xtd::forms::keys::subtract ,
  xtd::forms::keys::decimal ,
  xtd::forms::keys::divide ,
  xtd::forms::keys::f1 ,
  xtd::forms::keys::f2 ,
  xtd::forms::keys::f3 ,
  xtd::forms::keys::f4 ,
  xtd::forms::keys::f5 ,
  xtd::forms::keys::f6 ,
  xtd::forms::keys::f7 ,
  xtd::forms::keys::f8 ,
  xtd::forms::keys::f9 ,
  xtd::forms::keys::f10 ,
  xtd::forms::keys::f11 ,
  xtd::forms::keys::f12 ,
  xtd::forms::keys::f13 ,
  xtd::forms::keys::f14 ,
  xtd::forms::keys::f15 ,
  xtd::forms::keys::f16 ,
  xtd::forms::keys::f17 ,
  xtd::forms::keys::f18 ,
  xtd::forms::keys::f19 ,
  xtd::forms::keys::f20 ,
  xtd::forms::keys::f21 ,
  xtd::forms::keys::f22 ,
  xtd::forms::keys::f23 ,
  xtd::forms::keys::f24 ,
  xtd::forms::keys::num_lock ,
  xtd::forms::keys::scroll ,
  xtd::forms::keys::lshift_key ,
  xtd::forms::keys::rshift_key ,
  xtd::forms::keys::lcontrol_key ,
  xtd::forms::keys::rcontrol_key ,
  xtd::forms::keys::lmenu ,
  xtd::forms::keys::rmenu ,
  xtd::forms::keys::browser_back ,
  xtd::forms::keys::browser_forward ,
  xtd::forms::keys::browser_refresh ,
  xtd::forms::keys::browser_stop ,
  xtd::forms::keys::browser_search ,
  xtd::forms::keys::browser_favorites ,
  xtd::forms::keys::browser_home ,
  xtd::forms::keys::volume_mute ,
  xtd::forms::keys::volume_down ,
  xtd::forms::keys::volume_up ,
  xtd::forms::keys::media_next_track ,
  xtd::forms::keys::media_previous_track ,
  xtd::forms::keys::media_stop ,
  xtd::forms::keys::media_play_pause ,
  xtd::forms::keys::launch_mail ,
  xtd::forms::keys::select_media ,
  xtd::forms::keys::launch_application1 ,
  xtd::forms::keys::launch_application2 ,
  xtd::forms::keys::oem_semicolon ,
  xtd::forms::keys::oem1 ,
  xtd::forms::keys::oem_plus ,
  xtd::forms::keys::oem_comma ,
  xtd::forms::keys::oem_minus ,
  xtd::forms::keys::oem_period ,
  xtd::forms::keys::oem_question ,
  xtd::forms::keys::oem2 ,
  xtd::forms::keys::oem_tilde ,
  xtd::forms::keys::oem3 ,
  xtd::forms::keys::oem_open_brackets ,
  xtd::forms::keys::oem4 ,
  xtd::forms::keys::oem_pipe ,
  xtd::forms::keys::oem5 ,
  xtd::forms::keys::oem_close_brackets ,
  xtd::forms::keys::oem6 ,
  xtd::forms::keys::oem_quotes ,
  xtd::forms::keys::oem7 ,
  xtd::forms::keys::oem8 ,
  xtd::forms::keys::oem_backslash ,
  xtd::forms::keys::oem102 ,
  xtd::forms::keys::process_key ,
  xtd::forms::keys::packet ,
  xtd::forms::keys::attn ,
  xtd::forms::keys::crsel ,
  xtd::forms::keys::exsel ,
  xtd::forms::keys::erase_eof ,
  xtd::forms::keys::play ,
  xtd::forms::keys::zoom ,
  xtd::forms::keys::no_name ,
  xtd::forms::keys::pa1 ,
  xtd::forms::keys::oem_clear ,
  xtd::forms::keys::command_key ,
  xtd::forms::keys::lcommand_key ,
  xtd::forms::keys::rcommand_key ,
  xtd::forms::keys::function_key ,
  xtd::forms::keys::shift ,
  xtd::forms::keys::control ,
  xtd::forms::keys::command ,
  xtd::forms::keys::alt ,
  xtd::forms::keys::option ,
  xtd::forms::keys::meta ,
  xtd::forms::keys::function ,
  xtd::forms::keys::key_code ,
  xtd::forms::keys::modifiers
}
 Specifies key codes and modifiers. More...
 
enum class  xtd::forms::known_themed_color {
  xtd::forms::known_themed_color::accent ,
  xtd::forms::known_themed_color::accent_text ,
  xtd::forms::known_themed_color::active_border ,
  xtd::forms::known_themed_color::active_caption ,
  xtd::forms::known_themed_color::active_caption_text ,
  xtd::forms::known_themed_color::app_workspace ,
  xtd::forms::known_themed_color::button_face ,
  xtd::forms::known_themed_color::button_highlight ,
  xtd::forms::known_themed_color::button_shadow ,
  xtd::forms::known_themed_color::control ,
  xtd::forms::known_themed_color::control_dark ,
  xtd::forms::known_themed_color::control_dark_dark ,
  xtd::forms::known_themed_color::control_light ,
  xtd::forms::known_themed_color::control_light_light ,
  xtd::forms::known_themed_color::control_text ,
  xtd::forms::known_themed_color::desktop ,
  xtd::forms::known_themed_color::gradient_active_caption ,
  xtd::forms::known_themed_color::gradient_inactive_caption ,
  xtd::forms::known_themed_color::gray_text ,
  xtd::forms::known_themed_color::highlight ,
  xtd::forms::known_themed_color::highlight_text ,
  xtd::forms::known_themed_color::hot_track ,
  xtd::forms::known_themed_color::inactive_border ,
  xtd::forms::known_themed_color::inactive_caption ,
  xtd::forms::known_themed_color::inactive_caption_text ,
  xtd::forms::known_themed_color::info ,
  xtd::forms::known_themed_color::info_text ,
  xtd::forms::known_themed_color::menu ,
  xtd::forms::known_themed_color::menu_bar ,
  xtd::forms::known_themed_color::menu_highlight ,
  xtd::forms::known_themed_color::menu_text ,
  xtd::forms::known_themed_color::scroll_bar ,
  xtd::forms::known_themed_color::text_box ,
  xtd::forms::known_themed_color::text_box_text ,
  xtd::forms::known_themed_color::window ,
  xtd::forms::known_themed_color::window_frame ,
  xtd::forms::known_themed_color::window_text
}
 Specifies the known system colors. More...
 
enum class  xtd::forms::lcd_style {
  xtd::forms::lcd_style::seven_segment_display ,
  xtd::forms::lcd_style::nine_segment_display ,
  xtd::forms::lcd_style::fourteen_segment_display ,
  xtd::forms::lcd_style::sixteen_segment_display ,
  xtd::forms::lcd_style::dot_matrix_display
}
 Represent lcd label style used by lcd_label control. More...
 
enum class  xtd::forms::left_right_alignment {
  xtd::forms::left_right_alignment::left ,
  xtd::forms::left_right_alignment::right
}
 Specifies whether an object or text is aligned to the left or right of a reference point. More...
 
enum class  xtd::forms::link_behavior {
  xtd::forms::link_behavior::system_default ,
  xtd::forms::link_behavior::always_underline ,
  xtd::forms::link_behavior::hover_underline ,
  xtd::forms::link_behavior::never_underline
}
 Specifies the behaviors of a link in a xtd::forms::link_label. More...
 
enum class  xtd::forms::loading_indicator_style {
  xtd::forms::loading_indicator_style::bar ,
  xtd::forms::loading_indicator_style::circle_bars ,
  xtd::forms::loading_indicator_style::circle_blinks ,
  xtd::forms::loading_indicator_style::five_lines ,
  xtd::forms::loading_indicator_style::five_lines_center ,
  xtd::forms::loading_indicator_style::five_lines_chronological ,
  xtd::forms::loading_indicator_style::five_lines_pulse ,
  xtd::forms::loading_indicator_style::five_lines_wave ,
  xtd::forms::loading_indicator_style::pulse ,
  xtd::forms::loading_indicator_style::pulse_outline ,
  xtd::forms::loading_indicator_style::standard ,
  xtd::forms::loading_indicator_style::system ,
  xtd::forms::loading_indicator_style::three_balls ,
  xtd::forms::loading_indicator_style::three_balls_bouncing ,
  xtd::forms::loading_indicator_style::three_balls_rotation
}
 Specifies the appearance of a loading indicator control. More...
 
enum class  xtd::forms::menu_item_kind {
  xtd::forms::menu_item_kind::normal ,
  xtd::forms::menu_item_kind::check ,
  xtd::forms::menu_item_kind::radio ,
  xtd::forms::menu_item_kind::drop_down ,
  xtd::forms::menu_item_kind::separator
}
 Represent menu item kind used by xtd::forms::menu_item component. More...
 
enum class  xtd::forms::message_dialog_buttons {
  xtd::forms::message_dialog_buttons::ok ,
  xtd::forms::message_dialog_buttons::ok_cancel ,
  xtd::forms::message_dialog_buttons::abort_retry_ignore ,
  xtd::forms::message_dialog_buttons::yes_no_cancel ,
  xtd::forms::message_dialog_buttons::yes_no ,
  xtd::forms::message_dialog_buttons::retry_cancel
}
 Specifies constants defining which buttons to display on a message_box. More...
 
enum class  xtd::forms::message_dialog_default_button {
  xtd::forms::message_dialog_default_button::button1 ,
  xtd::forms::message_dialog_default_button::button2 ,
  xtd::forms::message_dialog_default_button::button3
}
 Specifies constants defining the default button on a message_box. More...
 
enum class  xtd::forms::message_dialog_icon {
  xtd::forms::message_dialog_icon::none ,
  xtd::forms::message_dialog_icon::error ,
  xtd::forms::message_dialog_icon::question ,
  xtd::forms::message_dialog_icon::warning ,
  xtd::forms::message_dialog_icon::information ,
  xtd::forms::message_dialog_icon::hand ,
  xtd::forms::message_dialog_icon::stop ,
  xtd::forms::message_dialog_icon::exclamation ,
  xtd::forms::message_dialog_icon::asterisk
}
 Specifies constants defining which information to display. More...
 
enum class  xtd::forms::message_dialog_options {
  xtd::forms::message_dialog_options::default_desktop_only ,
  xtd::forms::message_dialog_options::right_align ,
  xtd::forms::message_dialog_options::rtl_reading ,
  xtd::forms::message_dialog_options::service_notification
}
 Specifies options on a message_box. More...
 
enum class  xtd::forms::mouse_buttons {
  xtd::forms::mouse_buttons::none ,
  xtd::forms::mouse_buttons::left ,
  xtd::forms::mouse_buttons::right ,
  xtd::forms::mouse_buttons::middle ,
  xtd::forms::mouse_buttons::x_button1 ,
  xtd::forms::mouse_buttons::x_button2
}
 Specifies constants that define which mouse button was pressed. This enumeration has a flag attribute that allows a bitwise combination of its member values. More...
 
enum class  xtd::forms::open_file_box_options {
  xtd::forms::open_file_box_options::none ,
  xtd::forms::open_file_box_options::check_file_exists ,
  xtd::forms::open_file_box_options::dereference_link ,
  xtd::forms::open_file_box_options::validate_names ,
  xtd::forms::open_file_box_options::restore_directory ,
  xtd::forms::open_file_box_options::enable_auto_upgrade ,
  xtd::forms::open_file_box_options::show_hidden_files ,
  xtd::forms::open_file_box_options::show_help ,
  xtd::forms::open_file_box_options::show_preview ,
  xtd::forms::open_file_box_options::support_multi_dotted_extensions ,
  xtd::forms::open_file_box_options::all
}
 Specifies options on a xtd::forms::open_file_box. More...
 
enum class  xtd::forms::orientation {
  xtd::forms::orientation::horizontal ,
  xtd::forms::orientation::vertical
}
 Specifies the orientation of controls or elements of controls. More...
 
enum class  xtd::forms::picture_box_size_mode {
  xtd::forms::picture_box_size_mode::normal ,
  xtd::forms::picture_box_size_mode::stretch_image ,
  xtd::forms::picture_box_size_mode::auto_size ,
  xtd::forms::picture_box_size_mode::center_image ,
  xtd::forms::picture_box_size_mode::zoom
}
 Specifies how an image is positioned within a picture_box. More...
 
enum class  xtd::forms::power_line_status {
  xtd::forms::power_line_status::offline ,
  xtd::forms::power_line_status::online ,
  xtd::forms::power_line_status::unknown
}
 Specifies the system power status. More...
 
enum class  xtd::forms::power_state {
  xtd::forms::power_state::suspend ,
  xtd::forms::power_state::hibernate
}
 Defines identifiers that indicate a suspended system power activity mode. More...
 
enum class  xtd::forms::progress_bar_style {
  xtd::forms::progress_bar_style::blocks ,
  xtd::forms::progress_bar_style::continuous ,
  xtd::forms::progress_bar_style::marquee
}
 Specifies the progress_bar_style of controls or elements of controls. More...
 
enum class  xtd::forms::progress_box_options {
  xtd::forms::progress_box_options::none ,
  xtd::forms::progress_box_options::show_cancel_button ,
  xtd::forms::progress_box_options::show_skip_button ,
  xtd::forms::progress_box_options::show_elapsed_time ,
  xtd::forms::progress_box_options::show_estimated_time ,
  xtd::forms::progress_box_options::show_remaining_time ,
  xtd::forms::progress_box_options::all
}
 Specifies options on a xtd::forms::progress_box. More...
 
enum class  xtd::forms::right_to_left {
  xtd::forms::right_to_left::no ,
  xtd::forms::right_to_left::yes ,
  xtd::forms::right_to_left::inherit
}
 Specifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts. More...
 
enum class  xtd::forms::save_file_box_options {
  xtd::forms::save_file_box_options::none ,
  xtd::forms::save_file_box_options::check_file_exists ,
  xtd::forms::save_file_box_options::dereference_link ,
  xtd::forms::save_file_box_options::validate_names ,
  xtd::forms::save_file_box_options::restore_directory ,
  xtd::forms::save_file_box_options::enable_auto_upgrade ,
  xtd::forms::save_file_box_options::show_hidden_files ,
  xtd::forms::save_file_box_options::show_help ,
  xtd::forms::save_file_box_options::show_preview ,
  xtd::forms::save_file_box_options::support_multi_dotted_extensions ,
  xtd::forms::save_file_box_options::all
}
 Specifies options on a xtd::forms::save_file_box. More...
 
enum class  xtd::forms::screen_orientation {
  xtd::forms::screen_orientation::angle_0 ,
  xtd::forms::screen_orientation::angle_90 ,
  xtd::forms::screen_orientation::angle_180 ,
  xtd::forms::screen_orientation::angle_270
}
 Specifies the angle of the screen. More...
 
enum class  xtd::forms::search_direction {
  xtd::forms::search_direction::down ,
  xtd::forms::search_direction::up
}
 Specifies the search direction for xtd::forms::find_dialog dialog. More...
 
enum class  xtd::forms::segment_style {
  xtd::forms::segment_style::standard ,
  xtd::forms::segment_style::modern ,
  xtd::forms::segment_style::mixed ,
  xtd::forms::segment_style::expanded ,
  xtd::forms::segment_style::design ,
  xtd::forms::segment_style::stick
}
 Represent segment style used by seven_segment_display, fourteen_segment_display, nine_segment_display and sixteen_segment_display controls. More...
 
enum class  xtd::forms::segments {
  xtd::forms::segments::none ,
  xtd::forms::segments::a ,
  xtd::forms::segments::b ,
  xtd::forms::segments::c ,
  xtd::forms::segments::d ,
  xtd::forms::segments::e ,
  xtd::forms::segments::f ,
  xtd::forms::segments::g ,
  xtd::forms::segments::h ,
  xtd::forms::segments::i ,
  xtd::forms::segments::j ,
  xtd::forms::segments::k ,
  xtd::forms::segments::l ,
  xtd::forms::segments::m ,
  xtd::forms::segments::a1 ,
  xtd::forms::segments::a2 ,
  xtd::forms::segments::d1 ,
  xtd::forms::segments::d2 ,
  xtd::forms::segments::g1 ,
  xtd::forms::segments::g2 ,
  xtd::forms::segments::dp ,
  xtd::forms::segments::pc
}
 Specifies how a control anchors to the edges of its container. More...
 
enum class  xtd::forms::selection_mode {
  xtd::forms::selection_mode::none ,
  xtd::forms::selection_mode::one ,
  xtd::forms::selection_mode::multi_simple ,
  xtd::forms::selection_mode::multi_extended
}
 Specifies the selection behavior of a list box. More...
 
enum class  xtd::forms::shortcut {
  xtd::forms::shortcut::alt_0 ,
  xtd::forms::shortcut::alt_1 ,
  xtd::forms::shortcut::alt_2 ,
  xtd::forms::shortcut::alt_3 ,
  xtd::forms::shortcut::alt_4 ,
  xtd::forms::shortcut::alt_5 ,
  xtd::forms::shortcut::alt_6 ,
  xtd::forms::shortcut::alt_7 ,
  xtd::forms::shortcut::alt_8 ,
  xtd::forms::shortcut::alt_9 ,
  xtd::forms::shortcut::alt_bksp ,
  xtd::forms::shortcut::alt_down_arrow ,
  xtd::forms::shortcut::alt_f1 ,
  xtd::forms::shortcut::alt_f10 ,
  xtd::forms::shortcut::alt_f11 ,
  xtd::forms::shortcut::alt_f12 ,
  xtd::forms::shortcut::alt_f2 ,
  xtd::forms::shortcut::alt_f3 ,
  xtd::forms::shortcut::alt_f4 ,
  xtd::forms::shortcut::alt_f5 ,
  xtd::forms::shortcut::alt_f6 ,
  xtd::forms::shortcut::alt_f7 ,
  xtd::forms::shortcut::alt_f8 ,
  xtd::forms::shortcut::alt_f9 ,
  xtd::forms::shortcut::alt_left_arrow ,
  xtd::forms::shortcut::alt_right_arrow ,
  xtd::forms::shortcut::alt_up_arrow ,
  xtd::forms::shortcut::ctrl_0 ,
  xtd::forms::shortcut::ctrl_1 ,
  xtd::forms::shortcut::ctrl_2 ,
  xtd::forms::shortcut::ctrl_3 ,
  xtd::forms::shortcut::ctrl_4 ,
  xtd::forms::shortcut::ctrl_5 ,
  xtd::forms::shortcut::ctrl_6 ,
  xtd::forms::shortcut::ctrl_7 ,
  xtd::forms::shortcut::ctrl_8 ,
  xtd::forms::shortcut::ctrl_9 ,
  xtd::forms::shortcut::ctrl_a ,
  xtd::forms::shortcut::ctrl_b ,
  xtd::forms::shortcut::ctrl_c ,
  xtd::forms::shortcut::ctrl_d ,
  xtd::forms::shortcut::ctrl_del ,
  xtd::forms::shortcut::ctrl_e ,
  xtd::forms::shortcut::ctrl_f ,
  xtd::forms::shortcut::ctrl_f1 ,
  xtd::forms::shortcut::ctrl_f10 ,
  xtd::forms::shortcut::ctrl_f11 ,
  xtd::forms::shortcut::ctrl_f12 ,
  xtd::forms::shortcut::ctrl_f2 ,
  xtd::forms::shortcut::ctrl_f3 ,
  xtd::forms::shortcut::ctrl_f4 ,
  xtd::forms::shortcut::ctrl_f5 ,
  xtd::forms::shortcut::ctrl_f6 ,
  xtd::forms::shortcut::ctrl_f7 ,
  xtd::forms::shortcut::ctrl_f8 ,
  xtd::forms::shortcut::ctrl_f9 ,
  xtd::forms::shortcut::ctrl_g ,
  xtd::forms::shortcut::ctrl_h ,
  xtd::forms::shortcut::ctrl_i ,
  xtd::forms::shortcut::ctrl_ins ,
  xtd::forms::shortcut::ctrl_j ,
  xtd::forms::shortcut::ctrl_k ,
  xtd::forms::shortcut::ctrl_l ,
  xtd::forms::shortcut::ctrl_m ,
  xtd::forms::shortcut::ctrl_n ,
  xtd::forms::shortcut::ctrl_o ,
  xtd::forms::shortcut::ctrl_p ,
  xtd::forms::shortcut::ctrl_q ,
  xtd::forms::shortcut::ctrl_r ,
  xtd::forms::shortcut::ctrl_s ,
  xtd::forms::shortcut::ctrl_shift_0 ,
  xtd::forms::shortcut::ctrl_shift_1 ,
  xtd::forms::shortcut::ctrl_shift_2 ,
  xtd::forms::shortcut::ctrl_shift_3 ,
  xtd::forms::shortcut::ctrl_shift_4 ,
  xtd::forms::shortcut::ctrl_shift_5 ,
  xtd::forms::shortcut::ctrl_shift_6 ,
  xtd::forms::shortcut::ctrl_shift_7 ,
  xtd::forms::shortcut::ctrl_shift_8 ,
  xtd::forms::shortcut::ctrl_shift_9 ,
  xtd::forms::shortcut::ctrl_shift_a ,
  xtd::forms::shortcut::ctrl_shift_b ,
  xtd::forms::shortcut::ctrl_shift_c ,
  xtd::forms::shortcut::ctrl_shift_d ,
  xtd::forms::shortcut::ctrl_shift_e ,
  xtd::forms::shortcut::ctrl_shift_f ,
  xtd::forms::shortcut::ctrl_shift_f1 ,
  xtd::forms::shortcut::ctrl_shift_f10 ,
  xtd::forms::shortcut::ctrl_shift_f11 ,
  xtd::forms::shortcut::ctrl_shift_f12 ,
  xtd::forms::shortcut::ctrl_shift_f2 ,
  xtd::forms::shortcut::ctrl_shift_f3 ,
  xtd::forms::shortcut::ctrl_shift_f4 ,
  xtd::forms::shortcut::ctrl_shift_f5 ,
  xtd::forms::shortcut::ctrl_shift_f6 ,
  xtd::forms::shortcut::ctrl_shift_f7 ,
  xtd::forms::shortcut::ctrl_shift_f8 ,
  xtd::forms::shortcut::ctrl_shift_f9 ,
  xtd::forms::shortcut::ctrl_shift_g ,
  xtd::forms::shortcut::ctrl_shift_h ,
  xtd::forms::shortcut::ctrl_shift_i ,
  xtd::forms::shortcut::ctrl_shift_j ,
  xtd::forms::shortcut::ctrl_shift_k ,
  xtd::forms::shortcut::ctrl_shift_l ,
  xtd::forms::shortcut::ctrl_shift_m ,
  xtd::forms::shortcut::ctrl_shift_n ,
  xtd::forms::shortcut::ctrl_shift_o ,
  xtd::forms::shortcut::ctrl_shift_p ,
  xtd::forms::shortcut::ctrl_shift_q ,
  xtd::forms::shortcut::ctrl_shift_r ,
  xtd::forms::shortcut::ctrl_shift_s ,
  xtd::forms::shortcut::ctrl_shift_t ,
  xtd::forms::shortcut::ctrl_shift_u ,
  xtd::forms::shortcut::ctrl_shift_v ,
  xtd::forms::shortcut::ctrl_shift_w ,
  xtd::forms::shortcut::ctrl_shift_x ,
  xtd::forms::shortcut::ctrl_shift_y ,
  xtd::forms::shortcut::ctrl_shift_z ,
  xtd::forms::shortcut::ctrl_t ,
  xtd::forms::shortcut::ctrl_u ,
  xtd::forms::shortcut::ctrl_v ,
  xtd::forms::shortcut::ctrl_w ,
  xtd::forms::shortcut::ctrl_x ,
  xtd::forms::shortcut::ctrl_y ,
  xtd::forms::shortcut::ctrl_z ,
  xtd::forms::shortcut::del ,
  xtd::forms::shortcut::f1 ,
  xtd::forms::shortcut::f10 ,
  xtd::forms::shortcut::f11 ,
  xtd::forms::shortcut::f12 ,
  xtd::forms::shortcut::f2 ,
  xtd::forms::shortcut::f3 ,
  xtd::forms::shortcut::f4 ,
  xtd::forms::shortcut::f5 ,
  xtd::forms::shortcut::f6 ,
  xtd::forms::shortcut::f7 ,
  xtd::forms::shortcut::f8 ,
  xtd::forms::shortcut::f9 ,
  xtd::forms::shortcut::ins ,
  xtd::forms::shortcut::none ,
  xtd::forms::shortcut::shift_del ,
  xtd::forms::shortcut::shift_f1 ,
  xtd::forms::shortcut::shift_f10 ,
  xtd::forms::shortcut::shift_f11 ,
  xtd::forms::shortcut::shift_f12 ,
  xtd::forms::shortcut::shift_f2 ,
  xtd::forms::shortcut::shift_f3 ,
  xtd::forms::shortcut::shift_f4 ,
  xtd::forms::shortcut::shift_f5 ,
  xtd::forms::shortcut::shift_f6 ,
  xtd::forms::shortcut::shift_f7 ,
  xtd::forms::shortcut::shift_f8 ,
  xtd::forms::shortcut::shift_f9 ,
  xtd::forms::shortcut::shift_ins ,
  xtd::forms::shortcut::cmd_0 ,
  xtd::forms::shortcut::cmd_1 ,
  xtd::forms::shortcut::cmd_2 ,
  xtd::forms::shortcut::cmd_3 ,
  xtd::forms::shortcut::cmd_4 ,
  xtd::forms::shortcut::cmd_5 ,
  xtd::forms::shortcut::cmd_6 ,
  xtd::forms::shortcut::cmd_7 ,
  xtd::forms::shortcut::cmd_8 ,
  xtd::forms::shortcut::cmd_9 ,
  xtd::forms::shortcut::cmd_a ,
  xtd::forms::shortcut::cmd_b ,
  xtd::forms::shortcut::cmd_c ,
  xtd::forms::shortcut::cmd_d ,
  xtd::forms::shortcut::cmd_del ,
  xtd::forms::shortcut::cmd_e ,
  xtd::forms::shortcut::cmd_f ,
  xtd::forms::shortcut::cmd_f1 ,
  xtd::forms::shortcut::cmd_f10 ,
  xtd::forms::shortcut::cmd_f11 ,
  xtd::forms::shortcut::cmd_f12 ,
  xtd::forms::shortcut::cmd_f2 ,
  xtd::forms::shortcut::cmd_f3 ,
  xtd::forms::shortcut::cmd_f4 ,
  xtd::forms::shortcut::cmd_f5 ,
  xtd::forms::shortcut::cmd_f6 ,
  xtd::forms::shortcut::cmd_f7 ,
  xtd::forms::shortcut::cmd_f8 ,
  xtd::forms::shortcut::cmd_f9 ,
  xtd::forms::shortcut::cmd_g ,
  xtd::forms::shortcut::cmd_h ,
  xtd::forms::shortcut::cmd_i ,
  xtd::forms::shortcut::cmd_ins ,
  xtd::forms::shortcut::cmd_j ,
  xtd::forms::shortcut::cmd_k ,
  xtd::forms::shortcut::cmd_l ,
  xtd::forms::shortcut::cmd_m ,
  xtd::forms::shortcut::cmd_n ,
  xtd::forms::shortcut::cmd_o ,
  xtd::forms::shortcut::cmd_p ,
  xtd::forms::shortcut::cmd_q ,
  xtd::forms::shortcut::cmd_r ,
  xtd::forms::shortcut::cmd_s ,
  xtd::forms::shortcut::cmd_shift_0 ,
  xtd::forms::shortcut::cmd_shift_1 ,
  xtd::forms::shortcut::cmd_shift_2 ,
  xtd::forms::shortcut::cmd_shift_3 ,
  xtd::forms::shortcut::cmd_shift_4 ,
  xtd::forms::shortcut::cmd_shift_5 ,
  xtd::forms::shortcut::cmd_shift_6 ,
  xtd::forms::shortcut::cmd_shift_7 ,
  xtd::forms::shortcut::cmd_shift_8 ,
  xtd::forms::shortcut::cmd_shift_9 ,
  xtd::forms::shortcut::cmd_shift_a ,
  xtd::forms::shortcut::cmd_shift_b ,
  xtd::forms::shortcut::cmd_shift_c ,
  xtd::forms::shortcut::cmd_shift_d ,
  xtd::forms::shortcut::cmd_shift_e ,
  xtd::forms::shortcut::cmd_shift_f ,
  xtd::forms::shortcut::cmd_shift_f1 ,
  xtd::forms::shortcut::cmd_shift_f10 ,
  xtd::forms::shortcut::cmd_shift_f11 ,
  xtd::forms::shortcut::cmd_shift_f12 ,
  xtd::forms::shortcut::cmd_shift_f2 ,
  xtd::forms::shortcut::cmd_shift_f3 ,
  xtd::forms::shortcut::cmd_shift_f4 ,
  xtd::forms::shortcut::cmd_shift_f5 ,
  xtd::forms::shortcut::cmd_shift_f6 ,
  xtd::forms::shortcut::cmd_shift_f7 ,
  xtd::forms::shortcut::cmd_shift_f8 ,
  xtd::forms::shortcut::cmd_shift_f9 ,
  xtd::forms::shortcut::cmd_shift_g ,
  xtd::forms::shortcut::cmd_shift_h ,
  xtd::forms::shortcut::cmd_shift_i ,
  xtd::forms::shortcut::cmd_shift_j ,
  xtd::forms::shortcut::cmd_shift_k ,
  xtd::forms::shortcut::cmd_shift_l ,
  xtd::forms::shortcut::cmd_shift_m ,
  xtd::forms::shortcut::cmd_shift_n ,
  xtd::forms::shortcut::cmd_shift_o ,
  xtd::forms::shortcut::cmd_shift_p ,
  xtd::forms::shortcut::cmd_shift_q ,
  xtd::forms::shortcut::cmd_shift_r ,
  xtd::forms::shortcut::cmd_shift_s ,
  xtd::forms::shortcut::cmd_shift_t ,
  xtd::forms::shortcut::cmd_shift_u ,
  xtd::forms::shortcut::cmd_shift_v ,
  xtd::forms::shortcut::cmd_shift_w ,
  xtd::forms::shortcut::cmd_shift_x ,
  xtd::forms::shortcut::cmd_shift_y ,
  xtd::forms::shortcut::cmd_shift_z ,
  xtd::forms::shortcut::cmd_t ,
  xtd::forms::shortcut::cmd_u ,
  xtd::forms::shortcut::cmd_v ,
  xtd::forms::shortcut::cmd_w ,
  xtd::forms::shortcut::cmd_x ,
  xtd::forms::shortcut::cmd_ ,
  xtd::forms::shortcut::cmd_z ,
  xtd::forms::shortcut::opt_0 ,
  xtd::forms::shortcut::opt_1 ,
  xtd::forms::shortcut::opt_2 ,
  xtd::forms::shortcut::opt_3 ,
  xtd::forms::shortcut::opt_4 ,
  xtd::forms::shortcut::opt_5 ,
  xtd::forms::shortcut::opt_6 ,
  xtd::forms::shortcut::opt_7 ,
  xtd::forms::shortcut::opt_8 ,
  xtd::forms::shortcut::opt_9 ,
  xtd::forms::shortcut::opt_bksp ,
  xtd::forms::shortcut::opt_down_arrow ,
  xtd::forms::shortcut::opt_f1 ,
  xtd::forms::shortcut::opt_f10 ,
  xtd::forms::shortcut::opt_f11 ,
  xtd::forms::shortcut::opt_f12 ,
  xtd::forms::shortcut::opt_f2 ,
  xtd::forms::shortcut::opt_f3 ,
  xtd::forms::shortcut::opt_f4 ,
  xtd::forms::shortcut::opt_f5 ,
  xtd::forms::shortcut::opt_f6 ,
  xtd::forms::shortcut::opt_f7 ,
  xtd::forms::shortcut::opt_f8 ,
  xtd::forms::shortcut::opt_f9 ,
  xtd::forms::shortcut::opt_left_arrow ,
  xtd::forms::shortcut::opt_right_arrow ,
  xtd::forms::shortcut::opt_up_arrow
}
 Specifies shortcut keys that can be used by menu items. More...
 
enum class  xtd::forms::size_type {
  xtd::forms::size_type::auto_size ,
  xtd::forms::size_type::absolute ,
  xtd::forms::size_type::percent
}
 Specifies how rows or columns of user interface (UI) elements should be sized relative to their container. More...
 
enum class  xtd::forms::splitter_style {
  xtd::forms::splitter_style::draw_line ,
  xtd::forms::splitter_style::update_children
}
 Represent splitter style used by splitter control. More...
 
enum class  xtd::forms::status_bar_panel_auto_size {
  xtd::forms::status_bar_panel_auto_size::none ,
  xtd::forms::status_bar_panel_auto_size::spring ,
  xtd::forms::status_bar_panel_auto_size::contents
}
 Specifies how a xtd::forms::status_bar_panel on a xtd::forms::status_bar content behaves when the content resizes. More...
 
enum class  xtd::forms::status_bar_panel_border_style {
  xtd::forms::status_bar_panel_border_style::none ,
  xtd::forms::status_bar_panel_border_style::outset ,
  xtd::forms::status_bar_panel_border_style::inset ,
  xtd::forms::status_bar_panel_border_style::raised ,
  xtd::forms::status_bar_panel_border_style::sunken
}
 Specifies the appearance of the border for a xtd::forms::status_bar_panel on a xtd::forms::status_bar control. More...
 
enum class  xtd::forms::status_bar_panel_style {
  xtd::forms::status_bar_panel_style::text ,
  xtd::forms::status_bar_panel_style::owner_draw ,
  xtd::forms::status_bar_panel_style::control
}
 Specifies whether a xtd::forms::status_bar_panel object on a xtd::forms::status_bar control is owner-drawn or system-drawn. More...
 
enum class  xtd::forms::tab_alignment {
  xtd::forms::tab_alignment::top ,
  xtd::forms::tab_alignment::bottom ,
  xtd::forms::tab_alignment::left ,
  xtd::forms::tab_alignment::right
}
 Specifies the locations of the tabs in a tab control. More...
 
enum class  xtd::forms::text_format_flags {
  xtd::forms::text_format_flags::default_format ,
  xtd::forms::text_format_flags::glyph_overhang_padding ,
  xtd::forms::text_format_flags::left ,
  xtd::forms::text_format_flags::top ,
  xtd::forms::text_format_flags::horizontal_center ,
  xtd::forms::text_format_flags::right ,
  xtd::forms::text_format_flags::vertical_center ,
  xtd::forms::text_format_flags::bottom ,
  xtd::forms::text_format_flags::word_break ,
  xtd::forms::text_format_flags::single_line ,
  xtd::forms::text_format_flags::expand_tabs ,
  xtd::forms::text_format_flags::no_clipping ,
  xtd::forms::text_format_flags::external_leading ,
  xtd::forms::text_format_flags::no_prefix ,
  xtd::forms::text_format_flags::internal ,
  xtd::forms::text_format_flags::text_box_control ,
  xtd::forms::text_format_flags::path_ellipsis ,
  xtd::forms::text_format_flags::end_ellipse ,
  xtd::forms::text_format_flags::modify_string ,
  xtd::forms::text_format_flags::right_to_left ,
  xtd::forms::text_format_flags::word_ellipsis ,
  xtd::forms::text_format_flags::no_full_width_characterB_break ,
  xtd::forms::text_format_flags::hide_prefix ,
  xtd::forms::text_format_flags::prefix_only ,
  xtd::forms::text_format_flags::preserve_graphics_clipping ,
  xtd::forms::text_format_flags::preserve_graphics_translate_transform ,
  xtd::forms::text_format_flags::no_padding ,
  xtd::forms::text_format_flags::left_and_right_padding
}
 Specifies the display and layout information for text strings. More...
 
enum class  xtd::forms::tick_style {
  xtd::forms::tick_style::none ,
  xtd::forms::tick_style::top_left ,
  xtd::forms::tick_style::bottom_right ,
  xtd::forms::tick_style::both
}
 Specifies the location of tick marks in a track_bar control. More...
 
enum class  xtd::forms::tool_bar_appearance {
  xtd::forms::tool_bar_appearance::normal ,
  xtd::forms::tool_bar_appearance::flat ,
  xtd::forms::tool_bar_appearance::system
}
 Specifies the type of toolbar to display. More...
 
enum class  xtd::forms::tool_bar_button_style {
  xtd::forms::tool_bar_button_style::push_button ,
  xtd::forms::tool_bar_button_style::toggle_button ,
  xtd::forms::tool_bar_button_style::separator ,
  xtd::forms::tool_bar_button_style::drop_down_button ,
  xtd::forms::tool_bar_button_style::stretchable_separator ,
  xtd::forms::tool_bar_button_style::control
}
 Specifies the button style within a toolbar. More...
 
enum class  xtd::forms::tool_bar_text_align {
  xtd::forms::tool_bar_text_align::underneath ,
  xtd::forms::tool_bar_text_align::right
}
 Specifies the type of toolbar to display. More...
 
enum class  xtd::forms::visual_styles::check_box_state {
  xtd::forms::visual_styles::check_box_state::unchecked_normal ,
  xtd::forms::visual_styles::check_box_state::unchecked_hot ,
  xtd::forms::visual_styles::check_box_state::unchecked_pressed ,
  xtd::forms::visual_styles::check_box_state::unchecked_disabled ,
  xtd::forms::visual_styles::check_box_state::checked_normal ,
  xtd::forms::visual_styles::check_box_state::checked_hot ,
  xtd::forms::visual_styles::check_box_state::checked_pressed ,
  xtd::forms::visual_styles::check_box_state::checked_disabled ,
  xtd::forms::visual_styles::check_box_state::mixed_normal ,
  xtd::forms::visual_styles::check_box_state::mixed_hot ,
  xtd::forms::visual_styles::check_box_state::mixed_pressed ,
  xtd::forms::visual_styles::check_box_state::mixed_disabled
}
 Specifies the visual state of a check box that is drawn with visual styles. More...
 
enum class  xtd::forms::visual_styles::control_state {
  xtd::forms::visual_styles::control_state::normal ,
  xtd::forms::visual_styles::control_state::hot ,
  xtd::forms::visual_styles::control_state::pressed ,
  xtd::forms::visual_styles::control_state::disabled
}
 Specifies the visual state of a control that is drawn with visual styles. More...
 
enum class  xtd::forms::visual_styles::push_button_state {
  xtd::forms::visual_styles::push_button_state::normal ,
  xtd::forms::visual_styles::push_button_state::hot ,
  xtd::forms::visual_styles::push_button_state::pressed ,
  xtd::forms::visual_styles::push_button_state::checked ,
  xtd::forms::visual_styles::push_button_state::disabled ,
  xtd::forms::visual_styles::push_button_state::default_state
}
 Specifies the visual state of a button that is drawn with visual styles. More...
 
enum class  xtd::forms::visual_styles::radio_button_state {
  xtd::forms::visual_styles::radio_button_state::unchecked_normal ,
  xtd::forms::visual_styles::radio_button_state::unchecked_hot ,
  xtd::forms::visual_styles::radio_button_state::unchecked_pressed ,
  xtd::forms::visual_styles::radio_button_state::unchecked_disabled ,
  xtd::forms::visual_styles::radio_button_state::checked_normal ,
  xtd::forms::visual_styles::radio_button_state::checked_hot ,
  xtd::forms::visual_styles::radio_button_state::checked_pressed ,
  xtd::forms::visual_styles::radio_button_state::checked_disabled
}
 Specifies the visual state of a radio button that is drawn with visual styles. More...
 
enum class  xtd::forms::visual_styles::toggle_button_state {
  xtd::forms::visual_styles::toggle_button_state::unchecked_normal ,
  xtd::forms::visual_styles::toggle_button_state::unchecked_hot ,
  xtd::forms::visual_styles::toggle_button_state::unchecked_pressed ,
  xtd::forms::visual_styles::toggle_button_state::unchecked_disabled ,
  xtd::forms::visual_styles::toggle_button_state::checked_normal ,
  xtd::forms::visual_styles::toggle_button_state::checked_hot ,
  xtd::forms::visual_styles::toggle_button_state::checked_pressed ,
  xtd::forms::visual_styles::toggle_button_state::checked_disabled ,
  xtd::forms::visual_styles::toggle_button_state::mixed_normal ,
  xtd::forms::visual_styles::toggle_button_state::mixed_hot ,
  xtd::forms::visual_styles::toggle_button_state::mixed_pressed ,
  xtd::forms::visual_styles::toggle_button_state::mixed_disabled
}
 Specifies the visual state of a check box that is drawn with visual styles. More...
 

Typedef Documentation

◆ const_control_ref

using xtd::forms::const_control_ref = typedef std::reference_wrapper<const control>

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

Represents a const control reference.

Header
#include <xtd/forms/const_control_ref>
Namespace
xtd::forms
Library
xtd.forms

◆ const_form_ref

using xtd::forms::const_form_ref = typedef std::reference_wrapper<const form>

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

Represents a const xtd::forms::form reference.

Header
#include <xtd/forms/const_form_ref>
Namespace
xtd::forms
Library
xtd.forms

◆ const_menu_item_ref

using xtd::forms::const_menu_item_ref = typedef std::reference_wrapper<const menu_item>

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

Represents a menu item reference.

Header
#include <xtd/forms/const_menu_item_ref>
Namespace
xtd::forms
Library
xtd.forms

◆ const_tab_page_ref

using xtd::forms::const_tab_page_ref = typedef std::reference_wrapper<const tab_page>

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

Represents a const tab_page reference.

Header
#include <xtd/forms/const_tab_page_ref>
Namespace
xtd::forms
Library
xtd.forms

◆ control_ref

using xtd::forms::control_ref = typedef std::reference_wrapper<control>

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

Represents a control reference.

Header
#include <xtd/forms/control_ref>
Namespace
xtd::forms
Library
xtd.forms

◆ dialog_appearance

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

Specifies the appearance of a dialog.

Header
#include <xtd/forms/dialog_appearance>
Namespace
xtd::forms
Library
xtd.forms

◆ form_collection

using xtd::forms::form_collection = typedef std::vector<std::reference_wrapper<form> >

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

Represents a collection of form objects.

Header
#include <xtd/forms/form_collection>
Namespace
xtd::forms
Library
xtd.forms
Remarks
form_collection is used by the application object to list the currently open forms in an application through the open_forms property.

◆ form_ref

using xtd::forms::form_ref = typedef std::reference_wrapper<form>

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

Represent an xtd::forms::form reference.

Header
#include <xtd/forms/form_ref>
Namespace
xtd::forms
Library
xtd.forms

◆ horizontal_control_layout_style_collection

◆ menu_item_ref

using xtd::forms::menu_item_ref = typedef std::reference_wrapper<menu_item>

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

Represents a menu item reference.

Header
#include <xtd/forms/menu_item_ref>
Namespace
xtd::forms
Library
xtd.forms

◆ message_box_buttons

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

Specifies constants defining which buttons to display on a message_box.

Header
#include <xtd/forms/message_box_buttons>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the message_box class.

◆ message_box_default_button

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

Specifies constants defining the default button on a message_box.

Header
#include <xtd/forms/message_box_default_button>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the message_box class.

◆ message_box_icon

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

Specifies constants defining which information to display.

Header
#include <xtd/forms/message_box_icon>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the message_box class. The description of each member of this enumeration contains a typical representation of the symbol. The actual graphic displayed is a function of the operating system constants. In current implementations there are four unique symbols with multiple values assigned to them.

◆ message_box_options

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

Specifies options on a message_box.

Header
#include <xtd/forms/message_box_options>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
This enumeration is used by the MessageBox class.
If you do not want to specify this parameter when calling methods on MessageBox, you can pass in 0 instead.

◆ notifier_appearance

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

Specifies the appearance of a notifier.

Header
#include <xtd/forms/notifier_appearance>
Namespace
xtd::forms
Library
xtd.forms

◆ shadows [1/2]

using xtd::forms::shadows = typedef std::vector<xtd::forms::shadow>

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

Represents an xtd::forms::shadow array.

Header
#include <xtd/forms/shadows>
Namespace
xtd::forms
Library
xtd.forms

◆ status_bar_panel_ref

using xtd::forms::status_bar_panel_ref = typedef std::reference_wrapper<status_bar_panel>

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

Represents a xtd::forms::status_bar_item reference.

Namespace
xtd::forms
Library
xtd.forms

◆ shadows [2/2]

#include <xtd.forms/include/xtd/forms/style_sheets/shadows.h>

Represents an xtd::forms::style_sheets::shadow array.

Header
#include <xtd/forms/style_sheets/shadows>
Namespace
xtd::forms
Library
xtd.forms

◆ tab_page_ref

using xtd::forms::tab_page_ref = typedef std::reference_wrapper<tab_page>

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

Represents a tab_page reference.

Header
#include <xtd/forms/tab_page_ref>
Namespace
xtd::forms
Library
xtd.forms

◆ tool_bar_button_ref

using xtd::forms::tool_bar_button_ref = typedef std::reference_wrapper<tool_bar_button>

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

Represents a xtd::forms::tool_bar_item reference.

Header
#include <xtd/forms/tool_bar_button_ref>
Namespace
xtd::forms
Library
xtd.forms

◆ vertical_control_layout_style_collection

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

A collection that stores vertical_control_layout_style objects.

Header
#include <xtd/forms/pavertical_control_layout_style_collectionnel>
Namespace
xtd::forms
Library
xtd.forms

◆ form_state

#include <xtd.forms/include/xtd/forms/visual_styles/form_state.h>

Specifies the visual state of a form that is drawn with visual styles.

Header
#include <xtd/forms/visual_styles/form_state>
Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_styles::form_state values correspond to the states of the visual style element objects exposed by the xtd::forms::form class. The xtd::forms::visual_styles::form_state values are also used as an argument in the xtd::forms::form_renderer::draw_form method.

◆ label_state

#include <xtd.forms/include/xtd/forms/visual_styles/label_state.h>

Specifies the visual state of a label that is drawn with visual styles.

Header
#include <xtd/forms/visual_styles/label_state>
Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_styles::label_state values correspond to the states of the visual style element objects exposed by the xtd::forms::label class. The xtd::forms::visual_styles::label_state values are also used as an argument in the xtd::forms::label_renderer::draw_label method.

◆ link_label_state

#include <xtd.forms/include/xtd/forms/visual_styles/link_label_state.h>

Specifies the visual state of a link label that is drawn with visual styles.

Header
#include <xtd/forms/visual_styles/link_label_state>
Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_styles::link_label_state values correspond to the states of the visual style element objects exposed by the xtd::forms::link_label class. The xtd::forms::visual_styles::link_label_state values are also used as an argument in the xtd::forms::label_renderer::draw_link_label method.

◆ panel_state

#include <xtd.forms/include/xtd/forms/visual_styles/panel_state.h>

Specifies the visual state of a panel that is drawn with visual styles.

Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_styles::panel_state values correspond to the states of the visual style element objects exposed by the xtd::forms::panel class. The xtd::forms::visual_styles::panel_state values are also used as an argument in the xtd::forms::panel_renderer::draw_panel method.

◆ tool_bar_state

#include <xtd.forms/include/xtd/forms/visual_styles/tool_bar_state.h>

Specifies the visual state of a tool_bar that is drawn with visual styles.

Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_styles::tool_bar_state values correspond to the states of the visual style element objects exposed by the xtd::forms::tool_bar class. The xtd::forms::visual_styles::tool_bar_state values are also used as an argument in the xtd::forms::tool_bar_renderer::draw_tool_bar method.

◆ user_control_state

#include <xtd.forms/include/xtd/forms/visual_styles/user_control_state.h>

Specifies the visual state of a user control that is drawn with visual styles.

Header
#include <xtd/forms/visual_styles/user_control_state>
Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_styles::user_control_state values correspond to the states of the visual style element objects exposed by the xtd::forms::user_control class. The xtd::forms::visual_styles::user_control_state values are also used as an argument in the xtd::forms::user_control_renderer::draw_user_control method.

Enumeration Type Documentation

◆ anchor_styles

enum class xtd::forms::anchor_styles
strong

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

Specifies how a control anchors to the edges of its container.

Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration has a flags attribute that allows a bitwise combination of its member values.
When a control is anchored to an edge of its container, the distance between the control and the specified edge remains constant when the container resizes. For example, if a control is anchored to the right edge of its container, the distance between the right edge of the control and the right edge of the container remains constant when the container resizes. A control can be anchored to any combination of control edges. If the control is anchored to opposite edges of its container (for example, to the top and bottom), it resizes when the container resizes. If a control has its anchor property set to none, the control moves half of the distance that the container of the control is resized. For example, if a button has its anchor property set to none and the form that the control is located on is resized by 20 pixels in either direction, the button will be moved 10 pixels in both directions.
Enumerator
none 

no styles.

top 

Bind control edges to the top of its container.

bottom 

Bind control edges to the bottom of its container.

left 

Bind control edges to the left of its container.

right 

Bind control edges to the right of its container.

all 

All flags except none.

◆ appearance

enum class xtd::forms::appearance
strong

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

Specifies the appearance of a control.

Header
#include <xtd/forms/appearance>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration in controls that provide the Appearance property to set its value.
Enumerator
normal 

The default appearance defined by the control class.

button 

The appearance of a button.

switch_button 

The appearance of a switch button.

◆ arrange_direction

enum class xtd::forms::arrange_direction
strong

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

Specifies the direction the system uses to arrange minimized windows.

Header
#include <xtd/forms/arrange_direction>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration has a flags attribute attribute that allows a bitwise combination of its member values.
This enumeration is used by the arrange_direction property of the system_information class.
Enumerator
down 

Arranges vertically, from top to bottom.

left 

Arranges horizontally, from left to right.

right 

Arranges horizontally, from right to left.

up 

Arranges vertically, from bottom to top.

◆ arrange_starting_position

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

Specifies the starting position that the system uses to arrange minimized windows.

Header
#include <xtd/forms/arrange_starting_position>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration has a flags attribute attribute that allows a bitwise combination of its member values.
This enumeration is used by the arrange_starting_position property of the system_information class.
Enumerator
bottom_left 

Starts at the lower-left corner of the screen, which is the default position.

bottom_right 

Starts at the lower-right corner of the screen.

top_left 

Starts at the upper-left corner of the screen.

top_right 

Starts at the upper-right corner of the screen.

hide 

Hides minimized windows by moving them off the visible area of the screen.

◆ auto_size_mode

enum class xtd::forms::auto_size_mode
strong

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

Specifies how a control will behave when its auto_size property is enabled.

Header
#include <xtd/forms/auto_size_mode>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration to set the border style for controls that have a changeable border.
Enumerator
grow_and_shrink 

The control grows or shrinks to fit its contents. The control cannot be resized manually.

grow_only 

The control grows as much as necessary to fit its contents but does not shrink smaller than the value of its size property. The form can be resized, but cannot be made so small that any of its contained controls are hidden.

◆ battery_charge_status

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

Defines identifiers that indicate the current battery charge level or charging state information. This enumeration supports a bitwise combination of its member values.

Header
#include <xtd/forms/battery_change_status>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the xtd::forms::power_status::battery_charge_status property of the xtd::forms::power_status class.
Enumerator
high 

Indicates a high level of battery charge.

low 

Indicates a low level of battery charge.

critical 

Indicates a critically low level of battery charge.

charging 

Indicates a battery is charging..

no_system_battery 

Indicates that no battery is present.

unknown 

Indicates an unknown battery condition.

◆ boot_mode

enum class xtd::forms::boot_mode
strong

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

Specifies the mode to start the computer in.

Header
#include <xtd/forms/boot_mode>
Namespace
xtd::forms
Library
xtd::forms
Remarks
This enumeration defines identifiers that represent the standard operating system startup modes.
This enumeration is used by the boot_mode property of the system_information class.
The normal boot mode is the standard system startup mode. The fail_safe boot mode is also called safe mode. The fail_safe_with_network boot mode is also called safe mode with networking.
Enumerator
normal 

Starts the computer in standard mode.

fail_safe 

Starts the computer by using only the basic files and drivers.

fail_safe_with_network 

Starts the computer by using the basic files, drivers and the services and drivers necessary to start networking.

◆ border_sides

enum class xtd::forms::border_sides
strong

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

Specifies how a control anchors to the edges of its container.

Header
#include <xtd/forms/border_sides>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration has a flags attribute that allows a bitwise combination of its member values.
When a control is anchored to an edge of its container, the distance between the control and the specified edge remains constant when the container resizes. For example, if a control is anchored to the right edge of its container, the distance between the right edge of the control and the right edge of the container remains constant when the container resizes. A control can be anchored to any combination of control edges. If the control is anchored to opposite edges of its container (for example, to the top and bottom), it resizes when the container resizes. If a control has its anchor property set to none, the control moves half of the distance that the container of the control is resized. For example, if a button has its anchor property set to none and the form that the control is located on is resized by 20 pixels in either direction, the button will be moved 10 pixels in both directions.
Enumerator
none 

no styles.

top 

Bind control edges to the top of its container.

bottom 

Bind control edges to the bottom of its container.

left 

Bind control edges to the left of its container.

right 

Bind control edges to the right of its container.

all 

All flags except none.

◆ border_style

enum class xtd::forms::border_style
strong

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

Specifies the border style for a control.

Header
#include <xtd/forms/border_style>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration to set the border style for controls that have a changeable border.
Enumerator
none 

Defines no border.

hidden 

Defines a hidden border.

solid 

Defines a solid border.

inset 

Defines a 3D inset border. The effect depends on the border color value.

outset 

Defines a 3D outset border. The effect depends on the border color value.

groove 

Defines a 3D grooved border. The effect depends on the border color value.

ridge 

Defines a 3D ridged border. The effect depends on the border color value.

theme 

Defines a 3D themed border. The effect depends on the border color value.

dashed 

Defines a dashed border.

dot_dash 

Defines a dot dashed border.

dot_dot_dash 

Defines a dot dot dashed border.

dotted 

Defines a dotted border.

double_border 

Defines a double border.

bevel_inset 

A bevel inset border.

bevel_outset 

A bevel outset border.

rounded 

A rounded line border.

fixed_single 

A single-line border. Same as xtd::forms::border_style::solid.

fixed_3d 

A three-dimensional border. Same as xtd::forms::border_style::inset.

sunken 

A sunken border. Same as xtd::forms::border_style::inset.

raised 

A raised border. Same as xtd::forms::border_style::outset.

bevel_sunken 

A bevel sunken border. Same as xtd::forms::border_style::bevel_inset.

bevel_raised 

A bevel raised border. Same as xtd::forms::border_style::bevel_outset.

◆ bounds_specified

enum class xtd::forms::bounds_specified
strong

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

Specifies the bounds of the control to use when defining a control's size and position. This enumeration has a flags attribute that allows a bitwise combination of its member values.

Header
#include <xtd/forms/bounds_specified>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration when calling the set_bounds_core and set_bounds methods of the control class.
Enumerator
none 

No border.s.

Specifies that the left edge of the control is defined.

Specifies that the top edge of the control is defined.

location 

Specifies that both the x and y coordinates of the control are defined.

width 

Specifies that the width of the control is defined.

height 

Specifies that the height of the control is defined.

size 

Specifies that both the width and height property values of the control are defined.

all 

Specifies that both the location and size property values are defined.

◆ button_state

enum class xtd::forms::button_state
strong

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

Specifies the appearance of a button.

Header
#include <xtd/forms/button_state>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration has a flags attribute that allows a bitwise combination of its member values.
This enumeration represents the different states of a button. The default state is normal.
Enumerator
normal 

The button has its normal appearance (three-dimensional).

inactive 

The button is inactive (grayed).

pushed 

The button appears pressed.

checked 

The button has a checked or latched appearance. Use this appearance to show that a toggle button has been pressed.

flat 

The button has a flat, two-dimensional appearance.

all 

All flags except normal are set.

◆ character_casing

enum class xtd::forms::character_casing
strong

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

Specifies the case of characters in a text_box control.

Header
#include <xtd/forms/character_casing>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration to set the value of the character_casing property of the text_box control.
Enumerator
normal 

The case of characters is left unchanged.

upper 

Converts all characters to uppercase.

lower 

Converts all characters to lowercase.

◆ check_state

enum class xtd::forms::check_state
strong

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

Specifies the state of a control, such as a check box, that can be checked, unchecked, or set to an indeterminate state.

Header
#include <xtd/forms/check_state>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Multiple methods in check_box, checked_list_box, and item_check_event_args use this enumeration.
Note
Use an indeterminately checked control when you do not want to set a default value.
Enumerator
unchecked 

The control is unchecked.

checked 

The control is checked.

indeterminate 

The control is indeterminate. An indeterminate control generally has a shaded appearance.

◆ close_reason

enum class xtd::forms::close_reason
strong

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

Specifies the reason that a form was closed.

Header
#include <xtd/forms/close_reason>
Namespace
xtd::forms
Library
xtd.forms
Remarks
The form_closing and form_closed events are raised when a form is closed, either through user action or programmatically. Handlers for these events receive parameters of type form_closing_event_args and form_closed_event_args, respectively. Both of these event argument classes use the close_reason enumeration.
Enumerator
none 

The cause of the closure was not defined or could not be determined.

windows_shut_down 

The operating system is closing all applications before shutting down.

mdi_form_closing 

The parent form of this multiple document interface (MDI) form is closing.

user_closing 

The user is closing the form through the user interface (UI), for example by clicking the Close button on the form window, selecting Close from the window's control menu, or pressing ALT+F4.

task_manager_closing 

The Microsoft Windows Task Manager is closing the application.

form_owner_closing 

The owner form is closing.

application_exit_call 

The Exit method of the Application class was invoked.

◆ color_box_styles

enum class xtd::forms::color_box_styles
strong

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

Specifies constants defining which color_box styles is used.

Header
#include <xtd/forms/color_box_styles>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the color_box class.
Enumerator
none 

The cause of the closure was not defined or could not be determined.

alpha_color 

The color box shows alpha values and an opacity selector (slider).

allow_full_open 

The user can use the dialog box to define custom colors.

any_color 

The dialog box displays all available colors in the set of basic colors.

full_open 

The controls used to create custom colors are visible when the dialog box is opened.

show_help 

A Help button appears in the color dialog box.

solid_color_only 

The dialog box will restrict users to selecting solid colors only.

◆ combo_box_style

enum class xtd::forms::combo_box_style
strong

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

Specifies the combo_box style.

Header
#include <xtd/forms/combo_box_style>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When a control is docked to an edge of its container, it is always positioned flush against that edge when the container is resized. If more than one control is docked to an edge, the controls appear side by side according to their z-order; controls higher in the z-order are positioned farther from the container's edge.
If left, right, top, or bottom is selected, the specified and opposite edges of the control are resized to the size of the containing control's corresponding edges. If fill is selected, all four sides of the control are resized to match the containing control's edges.
The drop_down_style property specifies whether the list is always displayed or whether the list is displayed in a drop-down. The drop_down_style property also specifies whether the text portion can be edited.
Enumerator
simple 

Specifies that the list is always visible and that the text portion is editable. This means that the user can enter a new value and is not limited to selecting an existing value in the list.

drop_down 

Specifies that the list is displayed by clicking the down arrow and that the text portion is editable. This means that the user can enter a new value and is not limited to selecting an existing value in the list. When using this setting, the append value of auto_complete_mode works the same as the suggest_append value. This is the default style.

drop_down_list 

Specifies that the list is displayed by clicking the down arrow and that the text portion is not editable. This means that the user cannot enter a new value. Only values already in the list can be selected. The list displays only if auto_complete_mode is suggest or suggest_append.

◆ content_alignment

enum class xtd::forms::content_alignment
strong

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

Specifies alignment of content on the drawing surface.

Header
#include <xtd/forms/content_alignment>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
top_left 

Content is vertically aligned at the top, and horizontally aligned on the left.

top_center 

Content is vertically aligned at the top, and horizontally aligned at the center.

top_right 

Content is vertically aligned at the top, and horizontally aligned on the right.

middle_left 

Content is vertically aligned in the middle, and horizontally aligned on the left.

middle_center 

Content is vertically aligned at the middle, and horizontally aligned at the center.

middle_right 

Content is vertically aligned at the middle, and horizontally aligned on the right.

bottom_left 

Content is vertically aligned in the bottom, and horizontally aligned on the left.

bottom_center 

Content is vertically aligned at the bottom, and horizontally aligned at the center.

bottom_right 

Content is vertically aligned at the bottom, and horizontally aligned on the right.

◆ control_appearance

enum class xtd::forms::control_appearance
strong

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

Specifies the appearance of a control.

Header
#include <xtd/forms/control_appearance>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
standard 

The appearance of the control is determined by current theme of xtd.

system 

The appearance of the control is determined by the user's operating system.

◆ control_styles

enum class xtd::forms::control_styles
strong

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

Specifies the style and behavior of a control.

Header
#include <xtd/forms/control_styles>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration has a flags attribute that allows a bitwise combination of its member values.
Controls use this enumeration in various properties and methods to specify functionality. A control can enable a style by calling the set_style method and passing in the appropriate control_styles bit (or bits) and the bool value to set the bit(s) to. For example, the following line code would enable double-buffering.
@ user_paint
If true, the control paints itself rather than the operating system doing so. If false,...
@ double_buffer
If true, drawing is performed in a buffer, and after it completes, the result is output to the screen...
@ all_painting_in_wm_paint
If true, the control ignores the window message WM_ERASEBKGND to reduce flicker. This style should on...
If the all_painting_in_wm_paint bit is set to true, the window message WM_ERASEBKGND is ignored, and both on_paint_background and on_paint methods are called directly from the window message WM_PAINT. This generally reduces flicker unless other controls send the window message WM_ERASEBKGND to the control. You might send the window message WM_ERASEBKGRND to achieve a pseudo-transparent effect similar to supports_transparent_back_color; for example, a tool_bar with flat appearance does this.
To fully enable double-buffering, you can set the optimized_double_buffer and all_painting_in_wm_paint bits to true. However the preferred method for enabling double buffering, which yields the same result, is to set the double_buffered property for the control to true.
If the supports_transparent_back_color bit is set to true, and the back_color is set to a color whose alpha component is less than 255, on_paint_background will simulate transparency by asking its parent control to paint the background. This is not true transparency.
Note
If there is another control between the control and its parent, the current control will not show the control in the middle.
Remarks
When the user_mouse bit is set to true, the following methods are still called: control::on_mouse_down, control::on_mouse_up, control::on_mouse_enter, control::on_mouse_move, control::on_mouse_hover, control::on_mouse_leave, and control::on_mouse_wheel.
When the control is clicked, if the standard_click bit is set to true the control::on_click method is called and it raises the control::click event. When the control is double-clicked, and both the standard_click and standard_double_click bits are set to true, the click is passed on to the xtd::forms::control::double_click event. Then the Control::on_double_click method is called and it raises the control::double_click event. However, the control can call on_click or on_double_click directly regardless of the standard_click and standard_double_click bit values. For more information on control click and double click behaviors, see the control::click and control::double_click topics.
When the use_text_for_accessibility bit is set and there is a value in the control's text property, the value of that control's text property determines the control's default active accessibility name and shortcut key. Otherwise, the text of the preceding label control will be used instead. This style is set by default. Certain built-in control types, such as text_box and combo_box, reset this style so that the text property of those controls will not be used by active accessibility.
Enumerator
none 

No control style..

container_control 

If true, the control is a container-like control.

user_paint 

If true, the control paints itself rather than the operating system doing so. If false, the xtd::forms::control::paint event is not raised. This style only applies to classes derived from control.

opaque 

If true, the control is drawn opaque and the background is not painted.

resize_redraw 

If true, the control is redrawn when it is resized.

fixed_width 

If true, the control has a fixed width when auto-scaled. For example, if a layout operation attempts to rescale the control to accommodate a new font, the control's width remains unchanged.

fixed_height 

If true, the control has a fixed height when auto-scaled. For example, if a layout operation attempts to rescale the control to accommodate a new font, the control's height remains unchanged.

standard_click 

If true, the control implements the standard click behavior.

selectable 

If true, the control can receive focus.

user_mouse 

If true, the control does its own mouse processing, and mouse events are not handled by the operating system.

supports_transparent_back_color 

If true, the control accepts a BackColor with an alpha component of less than 255 to simulate transparency. Transparency will be simulated only if the UserPaint bit is set to true and the parent control is derived from Control.

standard_double_click 

If true, the control implements the standard double_click behavior. This style is ignored if the standard_click bit is not set to true.

all_painting_in_wm_paint 

If true, the control ignores the window message WM_ERASEBKGND to reduce flicker. This style should only be applied if the user_paint bit is set to true.

cache_text 

If true, the control keeps a copy of the text rather than getting it from the handle each time it is needed. This style defaults to false. This behavior improves performance, but makes it difficult to keep the text synchronized.

enable_notify_message 

If true, the on_notify_message(message&) method is called for every message sent to the control's wnd_proc(message&). This style defaults to false. enable_notify_message does not work in partial trust.

double_buffer 

If true, drawing is performed in a buffer, and after it completes, the result is output to the screen. Double-buffering prevents flicker caused by the redrawing of the control. If you set double_buffer to true, you should also set user_paint and all_painting_in_wm_paint to true.

optimized_double_buffer 

If true, the control is first drawn to a buffer rather than directly to the screen, which can reduce flicker. If you set this property to true, you should also set the all_painting_in_wm_paint to true.

use_text_for_accessibility 

Specifies that the value of the control's text property, if set, determines the control's default active accessibility name and shortcut key.

◆ date_time_picker_format

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

Specifies the date and time format the date_time_picker control displays.

Header
#include <xtd/forms/date_time_picker_format>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by members such as date_time_picker::format.
Enumerator
long_format 

The date_time_picker control displays the date/time value in the long date format set by the user's operating system.

short_format 

The date_time_picker control displays the date/time value in the short date format set by the user's operating system.

time 

The date_time_picker control displays the date/time value in the time format set by the user's operating system.

custom 

The date_time_picker control displays the date/time value in a custom format.

◆ day

enum class xtd::forms::day
strong

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

Specifies the day of the week.

Header
#include <xtd/forms/day>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
monday 

The day monday.

tuesday 

The day tuesday.

wednesday 

The day wednesday.

thursday 

The day thursday.

friday 

The day friday.

saturday 

The day saturday.

sunday 

The day sunday.

default_day 

A default day of the week specified by the application.

◆ dialog_result

enum class xtd::forms::dialog_result
strong

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

Specifies identifiers to indicate the return value of a dialog box.

Header
#include <xtd/forms/dialog_result>
Namespace
xtd::forms
Library
xtd.forms
Remarks
The xtd::forms::button::dialog_result property and the xtd::forms::form::show_dialog method use this enumeration.
Examples
The following code example demonstrates how to display a xtd::forms::message_box with the options supported by this overload of xtd::forms::message_box::show. After verifying that a string variable, ServerName, is empty, the example displays a MessageBox, offering the user the option to cancel the operation. If the Show method's return value evaluates to Yes, the form that displayed the MessageBox is closed.
void validate_user_entry() {
// Checks the value of the text.
if (server_name.text().size() == 0) {
// Initializes the variables to pass to the xtd::forms::message_box::show method.
string message = "You did not enter a server name. Cancel this operation?";
string caption = "No Server Name Specified";
dialog_result result;
// Displays the xtd::forms::message_box.
result = message_box::show(*this, message, caption, buttons);
if (result == dialog_result::yes) {
// Closes the parent form.
close();
}
}
}
Provides a collection of button objects for use by a Windows Forms application.
Definition buttons.h:24
static dialog_result show()
Displays a message box.
Implements a Windows message.
Definition message.h:28
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.h:43
message_dialog_buttons
Specifies constants defining which buttons to display on a message_box.
Definition message_dialog_buttons.h:22
@ yes
The dialog box return value is Yes (usually sent from a button labeled Yes).
@ yes_no
The message box contains Yes and No buttons.
Enumerator
none 

Nothing is returned from the dialog box. This means that the modal dialog continues running.

ok 

The dialog box return value is OK (usually sent from a button labeled OK).

cancel 

The dialog box return value is Cancel (usually sent from a button labeled Cancel).

abort 

The dialog box return value is Abort (usually sent from a button labeled Abort).

retry 

The dialog box return value is Retry (usually sent from a button labeled Retry).

ignore 

The dialog box return value is Ignore (usually sent from a button labeled Ignore).

yes 

The dialog box return value is Yes (usually sent from a button labeled Yes).

no 

The dialog box return value is No (usually sent from a button labeled No).

◆ dock_style

enum class xtd::forms::dock_style
strong

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

Specifies the position and manner in which a control is docked.

Header
#include <xtd/forms/dock_style>
Namespace
xtd::forms
Library
xtd.forms
Remarks
When a control is docked to an edge of its container, it is always positioned flush against that edge when the container is resized. If more than one control is docked to an edge, the controls appear side by side according to their z-order; controls higher in the z-order are positioned farther from the container's edge.
If left, right, top, or bottom is selected, the specified and opposite edges of the control are resized to the size of the containing control's corresponding edges. If fill is selected, all four sides of the control are resized to match the containing control's edges.
Enumerator
none 

The control is not docked.

top 

The control's top edge is docked to the top of its containing control.

bottom 

The control's bottom edge is docked to the bottom of its containing control.

left 

The control's left edge is docked to the left edge of its containing control.

right 

The control's right edge is docked to the right edge of its containing control.

fill 

All the control's edges are docked to the all edges of its containing control and sized appropriately.

◆ dot_matrix_style

enum class xtd::forms::dot_matrix_style
strong

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

Represent dot matrix style used by dot_matrix_display control.

Header
#include <xtd/forms/dot_matrix_style>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
round 

Round dot matrix style.

square 

Square dot matrix style.

standard 

Standard (or round) dot matrix style.

◆ draw_item_state

enum class xtd::forms::draw_item_state
strong

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

Specifies the state of an item that is being drawn. This enumeration supports a bitwise combination of its member values.

Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by members such as xtd::forms::draw_item_event_args::state.
Enumerator
none 

The item currently has no state.

selected 

The item is selected.

grayed 

The item is grayed. Only menu controls use this value.

disabled 

The item is unavailable.

checked 

The item is checked. Only menu controls use this value.

focus 

The item has focus.

default_state 

The item is in its default visual state.

hot_light 

The item is being hot-tracked, that is, the item is highlighted as the mouse pointer passes over it.

inactive 

The item is inactive.

no_accelerator 

The item displays without a keyboard accelerator.

no_focus_rect 

The item displays without the visual cue that indicates it has focus.

combo_box_edit 

The item is the editing portion of a xtd::forms::combo_box.

◆ flat_style

enum class xtd::forms::flat_style
strong

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

Specifies the appearance of a control.

Header
#include <xtd/forms/flat_style>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by members such as button_base::flat_style, group_box::flat_style, and label::flat_style.
In the case of the popup style button, this enumeration controls some behavior as well as appearance. The popup style control initially appears flat until the mouse pointer moves over it. When the mouse pointer moves over the popup control, it appears as a standard style control until the mouse pointer is moved off of it again.
If the system style is used, the appearance of the control is determined by the user's operating system and the following property values will be ignored: control_background_image, image_align, image, image_index, image_list, and text_align. In addition, the control.back_color property will be ignored for button controls. If supported, users can change the appearance of controls by adjusting the appearance settings of their operating system.
Enumerator
flat 

The control appears flat.

popup 

A control appears flat until the mouse pointer moves over it, at which point it appears three-dimensional.

standard 

The control appears three-dimensional.

system 

The appearance of the control is determined by the user's operating system.

◆ font_box_options

enum class xtd::forms::font_box_options
strong

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

Specifies options on a xtd::forms::font_box.

Header
#include <xtd/forms/font_box_options>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the xtd::forms::font_box class.
Enumerator
none 

No options.

allow_simulations 

Whether the dialog box allows graphics device interface (GDI) font simulations.

allow_vector_fonts 

Whether the dialog box allows vector font selections.

allow_vertical_fonts 

Whether the dialog box displays both vertical and horizontal fonts or only horizontal fonts.

allow_script_change 

Whether the user can change the character set specified in the Script combo box to display a character set other than the one currently displayed.

fixed_pitch_only 

Whether the dialog box allows only the selection of fixed-pitch fonts.

scripts_only 

Whether the dialog box allows selection of fonts for all non-OEM and Symbol character sets, as well as the ANSI character set.

show_apply 

Whether the dialog box contains an Apply button.

show_color 

Whether the dialog box displays the color choice.

show_effects 

Whether the dialog box contains controls that allow the user to specify strikethrough, underline, and text color options.

show_help 

Whether the dialog box displays a Help button.

all 

All flags except none.

◆ form_border_style

enum class xtd::forms::form_border_style
strong

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

Specifies the border styles for a form.

Header
#include <xtd/forms/form_border_style>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the form class. It represents the different styles of the form. The default style is sizable.
Enumerator
none 

No border.

fixed_single 

A fixed, single-line border.

fixed_3d 

A fixed, three-dimensional border.

fixed_dialog 

A thick, fixed dialog-style border.

sizable 

A resizable border.

fixed_tool_window 

A tool window border that is not resizable. A tool window does not appear in the taskbar or in the window that appears when the user presses ALT+TAB. Although forms that specify fixed_tool_window typically are not shown in the taskbar, you must also ensure that the show_in_taskbar property is set to false, since its default value is true.

sizable_tool_window 

A resizable tool window border. A tool window does not appear in the taskbar or in the window that appears when the user presses ALT+TAB.

◆ form_start_position

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

Specifies the initial position of a form.

Header
#include <xtd/forms/form_start_position>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the start_position property of the form class. It represents the different start positions of the form. The default start position is windows_default_location.
Enumerator
manual 

The position of the form is determined by the Location property.

center_screen 

The form is centered on the current display, and has the dimensions specified in the form's size.

windows_default_location 

The form is positioned at the Windows default location and has the dimensions specified in the form's size.

windows_default_bounds 

The form is positioned at the Windows default location and has the bounds determined by Windows default.

center_parent 

The form is centered within the bounds of its parent form.

◆ form_window_state

enum class xtd::forms::form_window_state
strong

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

Specifies how a form window is displayed.

Header
#include <xtd/forms/form_window_state>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the form class. It represents the different states of the form. The default state is normal.
Enumerator
normal 

A default sized window.

minimized 

A minimized window.

maximized 

A maximized window.

full_screen 

A full screen window.

◆ horizontal_alignment

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

Specifies how an object or text in a control is horizontally aligned relative to an element of the control.

Header
#include <xtd/forms/horizontal_alignment>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used in numerous classes. A partial list of these classes is xtd::forms::checked_list_box, xtd::forms::column_header, xtd::forms::combo_box, xtd::forms::control_paint, xtd::forms::label, ListBox, xtd::forms::control, xtd::forms::rich_text_box, and xtd::forms::text_box.
Enumerator
left 

The object or text is aligned on the left of the control element.

right 

The object or text is aligned on the right of the control element.

center 

The object or text is aligned in the center of the control element.

◆ image_layout

enum class xtd::forms::image_layout
strong

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

Specifies the position of the image on the control.

Header
#include <xtd/forms/image_layout>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
none 

The image is left-aligned at the top across the control's client rectangle.

tile 

The image is tiled across the control's client rectangle.

center 

The image is centered within the control's client rectangle.

stretch 

The image is stretched across the control's client rectangle.

zoom 

The image is enlarged within the control's client rectangle.

◆ input_box_style

enum class xtd::forms::input_box_style
strong

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

Specifies constants defining which input_box style is used.

Header
#include <xtd/forms/input_box_style>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the input_box class.
Enumerator
normal 

Single line text box.

multiline 

Multiline text box.

password 

Single line text box with password characters.

◆ keys

enum class xtd::forms::keys : long long
strong

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

Specifies key codes and modifiers.

Header
#include <xtd/forms/keys>
Namespace
xtd::forms
Library
xtd.forms
Remarks
The keys class contains constants for processing keyboard input. The members of the keys enumeration consist of a key code and a set of modifiers combined into a single integer value. In the Win32 application programming interface (API) a key value has two halves, with the high-order bits containing the key code (which is the same as a Windows virtual key code), and the low-order bits representing key modifiers such as the SHIFT, CONTROL, and ALT keys.
Warning
Do not use the values in this enumeration for combined bitwise operations. The values in the enumeration are not mutually exclusive.
Note
This enumeration provides no way to test whether the CAPS LOCK or NUM LOCK keys are currently activated. You can use one of the following techniques to determine if these keys are activated:
  • Call the IsKeyLocked method of the Control class.
  • For finer control, use the Win32 API functions GetKeyState, GetAsyncKeyState, or GetKeyboardState defined in user32.dll, to do this. For more information about calling native functions, see Consuming Unmanaged DLL Functions.
Remarks
The following table shows the key code values represented by two enumerated values, representing both the general original equipment manufacturer (OEM) keys and the more specific U.S.-keyboard associations.
Hexadecimal value  U.S. keyboard General OEM
BA oem_semicolon oem1
 BF  oem_question oem2
C0 oem_tilde oem3
 DB  oem_open_brackets oem4
 DC  oem_pipe oem5
DD  oem_close_brackets oem6
DE  oem_quotes oem7
E2  oem_backslash oem102
On Apple platforms, references to xtd::forms::keys::control_key and xtd::forms::keys::control correspond to the command keys on the Macintosh keyboard, and references to xtd::forms::keys::lwin, xtd::forms::keys::rwin and xtd::forms::keys::meta correspond to the control keys. In effect, developers can use the same shortcut descriptions across all platforms, and their applications will automatically work as expected on Apple platforms.
Examples
The following code example uses the KeyDown event to determine the type of character entered into the control.
// bool flag used to determine when a character other than a number is entered.
bool non_number_entered = false;
// Handle the KeyDown event to determine the type of character entered into the control.
void text_box1_key_down(object& sender, key_event_args& e) {
// Initialize the flag to false.
non_number_entered = false;
// Determine whether the keystroke is a number from the top of the keyboard.
if (e.key_code() < keys::d0 || e.key_code() > keys::d9) {
// Determine whether the keystroke is a number from the keypad.
if (e.key_code() < keys::num_pad0 || e.key_code() > keys::num_pad9) {
// Determine whether the keystroke is a backspace.
if(e.key_code() != keys::back) {
// A non-numerical keystroke was pressed.
// Set the flag to true and evaluate in xtd::forms::control::key_press event.
non_number_entered = true;
}
}
}
//If shift key was pressed, it's not a number.
if (control::modifier_keys() == keys::Shift) {
non_number_entered = true;
}
}
// This event occurs after the KeyDown event and can be used to prevent
// characters from entering the control.
void text_box1_key_press(object& sender, xtd::forms::key_press_event_args& e) {
// Check for the flag being set in the xtd::forms::control::key_down event.
if (non_number_entered == true) {
// Stop the character from being entered into the control since it is non-numerical.
e.handled(true);
}
}
static forms::keys modifier_keys() noexcept
Gets a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state.
Provides data for the xtd::forms::control::key_down or xtd::forms::control::key_up event.
Definition key_event_args.h:25
Provides data for the xtd::forms::control::key_press event.
Definition key_press_event_args.h:26
@ d0
The 0 key.
@ back
The BACK key.
@ num_pad9
The 9 key on the numeric keypad.
@ d9
The 9 key.
@ num_pad0
The 0 key on the numeric keypad.
@ e
The E key.
Enumerator
none 

No key pressed.

lbutton 

The left mouse button.

rbutton 

The right mouse button.

cancel 

The CANCEL key.

mbutton 

The middle mouse button (three-button mouse).

xbutton1 

The first x mouse button (five-button mouse).

xbutton2 

The second x mouse button (five-button mouse).

back 

The BACK key.

tab 

The TAB key.

line_feed 

The LINEFEED key.

clear 

The CLEAR key.

enter 

The ENTER key.

ret 

The RETURN key.

shift_key 

The SHIFT key.

control_key 

The CTRL key.

menu 

The ALT key.

pause 

The PAUSE key.

caps_lock 

The CAPS LOCK key.

capital 

The CAPS LOCK key.

kana_mode 

The IME Kana mode key.

hanguel_mode 

The IME Hanguel mode key. (maintained for compatibility; use HangulMode)

hangul_mode 

The IME Hangul mode key.

junja_mode 

The IME Junja mode key.

final_mode 

The IME Final mode key.

kanji_mode 

The IME Kanji mode key.

hanja_mode 

The IME Hanja mode key.

escape 

The ESC key.

ime_convert 

The IME convert key.

ime_nonconvert 

The IME nonconvert key.

ime_accept 

The IME accept key.

ime_mode_change 

The IME mode change key.

space 

The SPACEBAR key.

page_up 

The PAGE UP key.

prior 

The PAGE UP key.

page_down 

The PAGE DOWN key.

next 

The PAGE DOWN key.

end 

The END key.

home 

The HOME key.

left 

The LEFT key.

up 

The UP key.

right 

The RIGHT key.

down 

The DOWN key.

select 

The SELECT key.

print 

The PRINT key.

execute 

The EXECUTE key.

print_screen 

The PRINT SCREEN key.

snapshot 

The PRINT SCREEN key.

insert 

The INSERT key.

del 

The DEL key.

help 

The HELP key.

d0 

The 0 key.

d1 

The 1 key.

d2 

The 2 key.

d3 

The 3 key.

d4 

The 4 key.

d5 

The 5 key.

d6 

The 6 key.

d7 

The 7 key.

d8 

The 8 key.

d9 

The 9 key.

The A key.

The B key.

The C key.

The D key.

The E key.

The F key.

The G key.

The H key.

The I key.

The J key.

The K key.

The L key.

The M key.

The N key.

The O key.

The P key.

The Q key.

The R key.

The S key.

The T key.

The U key.

The V key.

The W key.

The X key.

The Y key.

The Z key.

lwin 

The left Windows logo key (Microsoft Natural Keyboard).

rwin 

The right Windows logo key (Microsoft Natural Keyboard).

apps 

The application key (Microsoft Natural Keyboard).

sleep 

The computer sleep key.

num_pad0 

The 0 key on the numeric keypad.

num_pad1 

The 1 key on the numeric keypad.

num_pad2 

The 2 key on the numeric keypad.

num_pad3 

The 3 key on the numeric keypad.

num_pad4 

The 4 key on the numeric keypad.

num_pad5 

The 5 key on the numeric keypad.

num_pad6 

The 6 key on the numeric keypad.

num_pad7 

The 7 key on the numeric keypad.

num_pad8 

The 8 key on the numeric keypad.

num_pad9 

The 9 key on the numeric keypad.

multiply 

The multiply key.

add 

The add key.

separator 

The separator key.

subtract 

The subtract key.

decimal 

The decimal key.

divide 

The divide key.

f1 

The F1 key.

f2 

The F2 key.

f3 

The F3 key.

f4 

The F4 key.

f5 

The F5 key.

f6 

The F6 key.

f7 

The F7 key.

f8 

The F8 key.

f9 

The F9 key.

f10 

The F10 key.

f11 

The F11 key.

f12 

The F12 key.

f13 

The F13 key.

f14 

The F14 key.

f15 

The F15 key.

f16 

The F16 key.

f17 

The F17 key.

f18 

The F18 key.

f19 

The F19 key.

f20 

The F20 key.

f21 

The F21 key.

f22 

The F22 key.

f23 

The F23 key.

f24 

The F24 key.

num_lock 

The NUM LOCK key.

scroll 

The SCROLL LOCK key.

lshift_key 

The left SHIFT key.

rshift_key 

The right SHIFT key.

lcontrol_key 

The left CTRL key.

rcontrol_key 

The right CTRL key.

lmenu 

The left ALT key.

rmenu 

The right ALT key.

browser_back 

The browser back key.

browser_forward 

The browser forward key.

browser_refresh 

The browser refresh key.

browser_stop 

The browser stop key.

browser_search 

The browser search key.

browser_favorites 

The browser favorites key.

browser_home 

The browser home key.

volume_mute 

The volume mute key.

volume_down 

The volume down key.

volume_up 

The volume up key.

media_next_track 

The media next track key.

media_previous_track 

The media previous track key.

media_stop 

The media stop key.

media_play_pause 

The media play pause key.

launch_mail 

The launch mail key.

select_media 

The select media key.

launch_application1 

The start application one key.

launch_application2 

The start application two key.

oem_semicolon 

The OEM Semicolon key on a US standard keyboard.

oem1 

The OEM 1 key.

oem_plus 

The OEM plus key on any country/region keyboard.

oem_comma 

The OEM comma key on any country/region keyboard.

oem_minus 

The OEM minus key on any country/region keyboard.

oem_period 

The OEM period key on any country/region keyboard.

oem_question 

The OEM question mark key on a US standard keyboard.

oem2 

The OEM 2 key.

oem_tilde 

The OEM tilde key on a US standard keyboard.

oem3 

The OEM 3 key.

oem_open_brackets 

The OEM open bracket key on a US standard keyboard.

oem4 

The OEM 4 key.

oem_pipe 

The OEM pipe key on a US standard keyboard.

oem5 

The OEM 5 key.

oem_close_brackets 

The OEM close bracket key on a US standard keyboard.

oem6 

The OEM 6 key.

oem_quotes 

The OEM singled/double quote key on a US standard keyboard.

oem7 

The OEM 7 key.

oem8 

The OEM 8 key.

oem_backslash 

The OEM angle bracket or backslash key on the RT 102 key keyboard.

oem102 

The OEM 102 key.

process_key 

The PROCESS KEY key.

packet 

Used to pass Unicode characters as if they were keystrokes. The Packet key value is the low word of a 32-bit virtual-key value used for non-keyboard input methods.

attn 

The ATTN key.

crsel 

The CRSEL key.

exsel 

The EXSEL key.

erase_eof 

The ERASE EOF key.

play 

The PLAY key.

zoom 

The ZOOM key.

no_name 

A constant reserved for future use.

pa1 

The PA1 key.

oem_clear 

The CLEAR key.

command_key 

The CMD key.

lcommand_key 

The left CMD key.

rcommand_key 

The right CMD key.

function_key 

The FUNCTION key.

shift 

The SHIFt modifier key.

control 

The CTRL modifier key.

Remarks
On macOS, the xtd::forms::keys::control modifier value corresponds to the command keys on the keyboard, and the xtd::forms::keys::meta modifier value corresponds to the control keys.
command 

The CMD modifier key.

Remarks
The Apple keyboard xtd::forms::keys::command modifier key corresponding to the xtd::forms::keys::control modifier key.
alt 

The ALT modifier key.

option 

The OPT modifier key.

Remarks
The Apple keyboard xtd::forms::keys::option modifier key corresponding to the xtd::forms::keys::alt modifier key.
meta 

The METTA modifier key.

Remarks
OnWindows and Linux, the xtd::forms::keys::meta modifier value corresponds to the Windows Left or Right keys.
On macOS, the xtd::forms::keys::control modifier value corresponds to the command keys on the keyboard, and the xtd::forms::keys::meta modifier value corresponds to the control keys.
function 

The FUNCTION modifier key.

key_code 

The bitmask to extract a key code from a key value.

modifiers 

The bitmask to extract modifiers from a key value.

◆ known_themed_color

enum class xtd::forms::known_themed_color
strong

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

Specifies the known system colors.

Header
#include <xtd/forms/known_themed_color>
Namespace
xtd::forms
Library
xtd.forms
See also
xtd::drawing::color
Enumerator
accent 

The system-defined color of the accent color (macos specific. On other platform is same as menu_highlight).

accent_text 

The system-defined color of the accent text color (macos specific. On other platform is same as highlight_text).

active_border 

The system-defined color of the active window's border.

active_caption 

The system-defined color of the background of the active window's title bar.

active_caption_text 

The system-defined color of the text in the active window's title bar.

app_workspace 

The system-defined color of the application workspace. The application workspace is the area in a multiple-document view that is not being occupied by documents.

button_face 

The system-defined face color of a 3-D element.

button_highlight 

The system-defined color that is the highlight color of a 3-D element. This color is applied to parts of a 3-D element that face the light source.

button_shadow 

The system-defined color that is the shadow color of a 3-D element. This color is applied to parts of a 3-D element that face away from the light source.

control 

The system-defined face color of a 3-D element.

control_dark 

The system-defined shadow color of a 3-D element. The shadow color is applied to parts of a 3-D element that face away from the light source.

control_dark_dark 

The system-defined color that is the dark shadow color of a 3-D element. The dark shadow color is applied to the parts of a 3-D element that are the darkest color.

control_light 

The system-defined color that is the light color of a 3-D element. The light color is applied to parts of a 3-D element that face the light source.

control_light_light 

The system-defined highlight color of a 3-D element. The highlight color is applied to the parts of a 3-D element that are the lightest color.

control_text 

The system-defined color of text in a 3-D element.

desktop 

The system-defined color of the desktop.

gradient_active_caption 

The system-defined color of the lightest color in the color gradient of an active window's title bar.

gradient_inactive_caption 

The system-defined color of the lightest color in the color gradient of an inactive window's title bar.

gray_text 

The system-defined color of dimmed text. Items in a list that are disabled are displayed in dimmed text.

highlight 

The system-defined color of the background of selected items. This includes selected menu items as well as selected text.

highlight_text 

The system-defined color of the text of selected items.

hot_track 

The system-defined color used to designate a hot-tracked item. Single-clicking a hot-tracked item executes the item.

inactive_border 

The system-defined color of an inactive window's border.

inactive_caption 

The system-defined color of the background of an inactive window's title bar.

inactive_caption_text 

The system-defined color of the text in an inactive window's title bar.

info 

The system-defined color of the background of a ToolTip.

info_text 

The system-defined color of the text of a ToolTip.

menu 

The system-defined color of a menu's background.

menu_bar 

The system-defined color of the background of a menu bar.

menu_highlight 

The system-defined color used to highlight menu items when the menu appears as a flat menu.

menu_text 

The system-defined color of a menu's text.

scroll_bar 

The system-defined color of the background of a scroll bar.

text_box 

The system-defined color of the accent color (macos specific. On other platform is same as window).

text_box_text 

The system-defined color of the accent text color (macos specific. On other platform is same as window_text).

window 

The system-defined color of the background in the client area of a window.

window_frame 

The system-defined color of a window frame.

window_text 

The system-defined color of the text in the client area of a window.

◆ lcd_style

enum class xtd::forms::lcd_style
strong

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

Represent lcd label style used by lcd_label control.

Header
#include <xtd/forms/lcd_style>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
seven_segment_display 

Seven segment display style.

nine_segment_display 

Nine segment display style.

fourteen_segment_display 

Fourteen segment display style.

sixteen_segment_display 

Sixteen segment display style.

dot_matrix_display 

Dot matrix display style.

◆ left_right_alignment

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

Specifies whether an object or text is aligned to the left or right of a reference point.

Header
#include <xtd/forms/left_right_alignment>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
left 

The object or text is aligned to the left of the reference point.

right 

The object or text is aligned to the right of the reference point.

◆ link_behavior

enum class xtd::forms::link_behavior
strong

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

Specifies the behaviors of a link in a xtd::forms::link_label.

Header
#include <xtd/forms/link_behavior>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration to set the value of the xtd::forms::link_label::link_behavior property of the xtd::forms::link_label.
Enumerator
system_default 

The behavior of this setting depends on the options set using the Internet Options dialog box in Control Panel or Internet Explorer.

always_underline 

The link always displays with underlined text.

hover_underline 

The link displays underlined text only when the mouse is hovered over the link text.

never_underline 

The link text is never underlined. The link can still be distinguished from other text by use of the xtd::forms::link_label::link_color property of the xtd::forms::link_label control.

◆ loading_indicator_style

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

Specifies the appearance of a loading indicator control.

Header
#include <xtd/forms/loading_indicator_style>
Namespace
xtd::forms
Library
xtd.forms
Remarks
If the system style is used, the appearance of the control is determined by the user's operating system and the following property values will be ignored: control_background_image, image_align, image, image_index, image_list, and text_align. In addition, the control.back_color property will be ignored for button controls. If supported, users can change the appearance of controls by adjusting the appearance settings of their operating system.
Enumerator
bar 

The control appears with bar style.

circle_bars 

The control appears with circle bars style.

circle_blinks 

The control appears with circle blinks style.

five_lines 

The control appears with five lines style.

five_lines_center 

The control appears with five lines center style.

five_lines_chronological 

The control appears with five lines chronological style.

five_lines_pulse 

The control appears with five lines pulse style.

five_lines_wave 

The control appears with five lines wave style.

pulse 

The control appears with pulse style.

pulse_outline 

The control appears with pulse outline style.

standard 

The control appears with standard style.

system 

The appearance of the control is determined by the user's operating system.

three_balls 

The control appears with three balls style.

three_balls_bouncing 

The control appears with three balls bouncing style.

three_balls_rotation 

The control appears with three balls rotation style.

◆ menu_item_kind

enum class xtd::forms::menu_item_kind
strong

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

Represent menu item kind used by xtd::forms::menu_item component.

Header
#include <xtd/forms/menu_item_kind>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
normal 

Normal menu item.

check 

Check menu item.

radio 

Radio menu item.

drop_down 

Drop down menu item.

separator 

Separator menu item.

◆ message_dialog_buttons

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

Specifies constants defining which buttons to display on a message_box.

Header
#include <xtd/forms/message_dialog_buttons>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the message_box class.
Enumerator
ok 

The message box contains an OK button.

ok_cancel 

The message box contains OK and Cancel buttons.

abort_retry_ignore 

&brief The message box contains Abort, Retry, and Ignore buttons

yes_no_cancel 

The message box contains Yes, No, and Cancel buttons.

yes_no 

The message box contains Yes and No buttons.

retry_cancel 

The message box contains Retry and Cancel buttons.

◆ message_dialog_default_button

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

Specifies constants defining the default button on a message_box.

Header
#include <xtd/forms/message_dialog_default_button>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the message_box class.
Enumerator
button1 

The first button on the message box is the default button.

button2 

The second button on the message box is the default button.

button3 

The third button on the message box is the default button.

◆ message_dialog_icon

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

Specifies constants defining which information to display.

Header
#include <xtd/forms/message_dialog_icon>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the message_box class. The description of each member of this enumeration contains a typical representation of the symbol. The actual graphic displayed is a function of the operating system constants. In current implementations there are four unique symbols with multiple values assigned to them.
Enumerator
none 

The message box contain no symbols.

error 

The message box contains a symbol consisting of white X in a circle with a red background.

question 

The message box contains a symbol consisting of a question mark in a circle. The question-mark message icon is no longer recommended because it does not clearly represent a specific type of message and because the phrasing of a message as a question could apply to any message type. In addition, users can confuse the message symbol question mark with Help information. Therefore, do not use this question mark message symbol in your message boxes. The system continues to support its inclusion only for backward compatibility.

warning 

The message box contains a symbol consisting of an exclamation point in a triangle with a yellow background.

information 

The message box contains a symbol consisting of a lowercase letter i in a circle.

hand 

The message box contains a symbol consisting of a white X in a circle with a red background.

stop 

The message box contains a symbol consisting of white X in a circle with a red background.

exclamation 

The message box contains a symbol consisting of an exclamation point in a triangle with a yellow background.

asterisk 

The message box contains a symbol consisting of a lowercase letter i in a circle.

◆ message_dialog_options

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

Specifies options on a message_box.

Header
#include <xtd/forms/message_dialog_options>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
This enumeration is used by the MessageBox class.
If you do not want to specify this parameter when calling methods on MessageBox, you can pass in 0 instead.
Enumerator
default_desktop_only 

The message box is displayed on the active desktop.

right_align 

The message box text is right-aligned.

rtl_reading 

Specifies that the message box text is displayed with right to left reading order.

service_notification 

The message box is displayed on the active desktop.

◆ mouse_buttons

enum class xtd::forms::mouse_buttons
strong

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

Specifies constants that define which mouse button was pressed. This enumeration has a flag attribute that allows a bitwise combination of its member values.

Header
#include <xtd/forms/mouse_buttons>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by many classes, including ax_host, control, data_grid, form, radio_button, splitter, status_bar, and up_down_base.
Enumerator
none 

No mouse button was pressed.

left 

The left mouse button was pressed.

right 

The right mouse button was pressed.

middle 

he middle mouse button was pressed.

x_button1 

The first XButton (XBUTTON1) on Microsoft IntelliMouse Explorer was pressed.

x_button2 

The second XButton (XBUTTON2) on Microsoft IntelliMouse Explorer was pressed.

◆ open_file_box_options

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

Specifies options on a xtd::forms::open_file_box.

Header
#include <xtd/forms/open_file_box_options>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the xtd::forms::open_file_box class.
Enumerator
none 

No options.

check_file_exists 

Whether the dialog box displays a warning if the user specifies a file name that does not exist.

dereference_link 

Whether the dialog box returns the location of the file referenced by the shortcut (.lnk).

validate_names 

Whether the dialog box accepts only valid file names.

restore_directory 

Whether the dialog box restores the directory to the previously selected directory before closing.

enable_auto_upgrade 

Whether this xtd::forms::file_dialog instance should automatically upgrade appearance and behavior when running on Windows Vista.

show_hidden_files 

Whether hidden files are displayed in the file dialog box.

show_help 

Whether the Help button is displayed in the file dialog box.

show_preview 

Whether preview file is displayed in the file dialog box.

support_multi_dotted_extensions 

Whether the dialog box supports displaying and saving files that have multiple file name extensions.

all 

All flags except none.

◆ orientation

enum class xtd::forms::orientation
strong

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

Specifies the orientation of controls or elements of controls.

Header
#include <xtd/forms/orientation>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration to set the border style for controls that have a changeable border.
Enumerator
horizontal 

The control or element is oriented horizontally.

vertical 

The control or element is oriented vertically.

◆ picture_box_size_mode

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

Specifies how an image is positioned within a picture_box.

Header
#include <xtd/forms/picture_box_size_mode>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration to set the value of the size_mode property of the picture_box.
Enumerator
normal 

The image is placed in the upper-left corner of the picture_box. The image is clipped if it is larger than the picture_box it is contained in.

stretch_image 

The image within the picture_box is stretched or shrunk to fit the size of the picture_box.

auto_size 

The picture_box is sized equal to the size of the image that it contains.

center_image 

The image is displayed in the center if the picture_box is larger than the image. If the image is larger than the picture_box, the picture is placed in the center of the picture_box and the outside edges are clipped.

zoom 

The size of the image is increased or decreased maintaining the size ratio.

◆ power_line_status

enum class xtd::forms::power_line_status
strong

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

Specifies the system power status.

Header
#include <xtd/forms/power_line_status>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
offline 

The system is offline.

online 

The system is online.

unknown 

The power status of the system is unknown.

◆ power_state

enum class xtd::forms::power_state
strong

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

Defines identifiers that indicate a suspended system power activity mode.

Header
#include <xtd/forms/power_state>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the xtd::forms::application::set_suspend_state method of the xtd::forms::application class.
Enumerator
suspend 

Indicates a system suspended power mode. When a system is suspended, the computer switches to a low-power state called standby. When a computer is in standby mode, some devices are turned off and the computer uses less power. The system can restore itself more quickly than returning from hibernation. Because standby does not save the memory state to disk, a power failure while in standby can cause loss of information.

hibernate 

Indicates a system hibernation power mode. When a system enters hibernation, the contents of its memory are saved to disk before the computer is turned off. When the system is restarted, the desktop and previously active programs are restored.

◆ progress_bar_style

enum class xtd::forms::progress_bar_style
strong

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

Specifies the progress_bar_style of controls or elements of controls.

Header
#include <xtd/forms/progress_bar_style>
Namespace
xtd::forms
Library
xtd.forms
Remarks
You can use the marquee style when you need to indicate progress is being made, but you cannot indicate the quantity of progress. The marquee style is valid only when visual styles are enabled. The Continuous style is valid only when visual styles are not enabled.
Enumerator
blocks 

Indicates progress by increasing the number of segmented blocks in a progress_bar.

continuous 

Indicates progress by increasing the size of a smooth, continuous bar in a progress_bar.

marquee 

Indicates progress by continuously scrolling a block across a progress_bar in a marquee fashion.

◆ progress_box_options

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

Specifies options on a xtd::forms::progress_box.

Header
#include <xtd/forms/progress_box_options>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the xtd::forms::progress_box class.
Enumerator
none 

No options.

show_cancel_button 

Whether cancel button is shown.

show_skip_button 

Whether skip button is shown.

show_elapsed_time 

Whether elapsed time is shown.

show_estimated_time 

Whether estimated time is shown.

show_remaining_time 

Whether remaining time is shown.

all 

All flags except none.

◆ right_to_left

enum class xtd::forms::right_to_left
strong

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

Specifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts.

Header
#include <xtd/forms/right_to_left>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by xtd::forms::context_menu, xtd::forms::main_menu, xtd::forms::progress_bar, and xtd::forms::control.
When you retrieve the value of the RightToLeft property from xtd::forms::context_menu, xtd::forms::main_menu, and xtd::forms::progress_bar you will get the value of xtd::forms::right_to_left you assigned. In contrast, if you are deriving your own class from xtd::forms::control, and you assign a value of Inherit to the xtd::forms::control::right_to_left property, the value returned will be the setting of the xtd::forms::control::right_to_left property of the parent control. If there is no parent control, it will return a value of xtd::forms::right_to_left::no. Otherwise, it will return a value of xtd::forms::right_to_left::yes or xtd::forms::right_to_left::no, depending on the value that you assigned to the xtd::forms::control::right_to_left property of your derived class.
Note
For more information about how enabling right-to-left alignment affects Windows Forms controls, see the xtd::forms::control::right_to_left property.
Enumerator
no 

The text reads from left to right. This is the default.

yes 

The text reads from right to left.

inherit 

The direction the text read is inherited from the parent control.

◆ save_file_box_options

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

Specifies options on a xtd::forms::save_file_box.

Header
#include <xtd/forms/save_file_box_options>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the xtd::forms::save_file_box class.
Enumerator
none 

No options.

check_file_exists 

Whether the dialog box displays a warning if the user specifies a file name that does not exist.

dereference_link 

Whether the dialog box returns the location of the file referenced by the shortcut (.lnk).

validate_names 

Whether the dialog box accepts only valid file names.

restore_directory 

Whether the dialog box restores the directory to the previously selected directory before closing.

enable_auto_upgrade 

Whether this xtd::forms::file_dialog instance should automatically upgrade appearance and behavior when running on Windows Vista.

show_hidden_files 

Whether hidden files are displayed in the file dialog box.

show_help 

Whether the Help button is displayed in the file dialog box.

show_preview 

Whether preview file is displayed in the file dialog box.

support_multi_dotted_extensions 

Whether the dialog box supports displaying and saving files that have multiple file name extensions.

all 

All flags except none.

◆ screen_orientation

enum class xtd::forms::screen_orientation
strong

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

Specifies the angle of the screen.

Header
#include <xtd/forms/screen_orientation>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the xtd::forms::system_information::screen_orientation property.
Enumerator
angle_0 

The screen is oriented at 0 degrees.

angle_90 

The screen is oriented at 90 degrees.

angle_180 

The screen is oriented at 180 degrees.

angle_270 

The screen is oriented at 270 degrees.

◆ search_direction

enum class xtd::forms::search_direction
strong

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

Specifies the search direction for xtd::forms::find_dialog dialog.

Header
#include <xtd/forms/search_direction>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
down 

Search direction down.

up 

Search direction up.

◆ segment_style

enum class xtd::forms::segment_style
strong

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

Represent segment style used by seven_segment_display, fourteen_segment_display, nine_segment_display and sixteen_segment_display controls.

Header
#include <xtd/forms/segment_style>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
standard 

Standard segment style.

modern 

Modern segment style.

mixed 

Mixed (mix between standard and modern) segment style.

expanded 

Expanded segment style.

design 

Design segment style.

stick 

Stick segment style.

◆ segments

enum class xtd::forms::segments
strong

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

Specifies how a control anchors to the edges of its container.

Header
#include <xtd/forms/segments>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration has a flags attribute that allows a bitwise combination of its member values.
When a control is anchored to an edge of its container, the distance between the control and the specified edge remains constant when the container resizes. For example, if a control is anchored to the right edge of its container, the distance between the right edge of the control and the right edge of the container remains constant when the container resizes. A control can be anchored to any combination of control edges. If the control is anchored to opposite edges of its container (for example, to the top and bottom), it resizes when the container resizes. If a control has its anchor property set to none, the control moves half of the distance that the container of the control is resized. For example, if a button has its anchor property set to none and the form that the control is located on is resized by 20 pixels in either direction, the button will be moved 10 pixels in both directions.
Enumerator
none 

no segment.

The a segment.

The b segment.

The c segment.

The d segment.

The e segment.

The f segment.

The g segment.

The h segment.

The i segment.

The j segment.

The k segment.

The l segment.

The m segment.

a1 

The a1 segment.

a2 

The a2 segment.

d1 

The d1 segment.

d2 

The d2 segment.

g1 

The g1 segment.

g2 

The g2 segment.

dp 

The dp segment (dot point).

pc 

The cp segment (punctuation colon).

◆ selection_mode

enum class xtd::forms::selection_mode
strong

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

Specifies the selection behavior of a list box.

Header
#include <xtd/forms/selection_mode>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by classes such as list_box and checked_list_box.
Enumerator
none 

No items can be selected.

one 

Only one item can be selected.

multi_simple 

Multiple items can be selected.

multi_extended 

Multiple items can be selected, and the user can use the SHIFT, CTRL, and arrow keys to make selections.

◆ shortcut

enum class xtd::forms::shortcut
strong

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

Specifies shortcut keys that can be used by menu items.

Header
#include <xtd/forms/shortcut>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration to set the value of the xtd::forms::menu_item::shortcut property of the xtd::forms::menu_item class.
On Apple platforms, references to xtd::forms::keys::control_key and xtd::forms::keys::control correspond to the command keys on the Macintosh keyboard, and references to xtd::forms::keys::lwin, xtd::forms::keys::rwin and xtd::forms::keys::meta correspond to the control keys. In effect, developers can use the same shortcut descriptions across all platforms, and their applications will automatically work as expected on Apple platforms.
Enumerator
alt_0 

The shortcut keys ALT+0.

alt_1 

The shortcut keys ALT+1.

alt_2 

The shortcut keys ALT+2.

alt_3 

The shortcut keys ALT+3.

alt_4 

The shortcut keys ALT+4.

alt_5 

The shortcut keys ALT+5.

alt_6 

The shortcut keys ALT+6.

alt_7 

The shortcut keys ALT+7.

alt_8 

The shortcut keys ALT+8.

alt_9 

The shortcut keys ALT+9.

alt_bksp 

The shortcut keys ALT+BACKSPACE.

alt_down_arrow 

The shortcut keys ALT+DOWNARROW.

alt_f1 

The shortcut keys ALT+F1.

alt_f10 

The shortcut keys ALT+F10.

alt_f11 

The shortcut keys ALT+F11.

alt_f12 

The shortcut keys ALT+F12.

alt_f2 

The shortcut keys ALT+F2.

alt_f3 

The shortcut keys ALT+F3.

alt_f4 

The shortcut keys ALT+F4.

alt_f5 

The shortcut keys ALT+F5.

alt_f6 

The shortcut keys ALT+F6.

alt_f7 

The shortcut keys ALT+F7.

alt_f8 

The shortcut keys ALT+F8.

alt_f9 

The shortcut keys ALT+F9.

alt_left_arrow 

The shortcut keys ALT+LEFTARROW.

alt_right_arrow 

The shortcut keys ALT+RIGHTARROW.

alt_up_arrow 

The shortcut keys ALT+UPARROW.

ctrl_0 

The shortcut keys CTRL+0.

ctrl_1 

The shortcut keys CTRL+1.

ctrl_2 

The shortcut keys CTRL+2.

ctrl_3 

The shortcut keys CTRL+3.

ctrl_4 

The shortcut keys CTRL+4.

ctrl_5 

The shortcut keys CTRL+5.

ctrl_6 

The shortcut keys CTRL+6.

ctrl_7 

The shortcut keys CTRL+7.

ctrl_8 

The shortcut keys CTRL+8.

ctrl_9 

The shortcut keys CTRL+9.

ctrl_a 

The shortcut keys CTRL+A.

ctrl_b 

The shortcut keys CTRL+B.

ctrl_c 

The shortcut keys CTRL+C.

ctrl_d 

The shortcut keys CTRL+D.

ctrl_del 

The shortcut keys CTRL+DELETE.

ctrl_e 

The shortcut keys CTRL+E.

ctrl_f 

The shortcut keys CTRL+F.

ctrl_f1 

The shortcut keys CTRL+F1.

ctrl_f10 

The shortcut keys CTRL+F10.

ctrl_f11 

The shortcut keys CTRL+F11.

ctrl_f12 

The shortcut keys CTRL+F12.

ctrl_f2 

The shortcut keys CTRL+F2.

ctrl_f3 

The shortcut keys CTRL+F3.

ctrl_f4 

The shortcut keys CTRL+F4.

ctrl_f5 

The shortcut keys CTRL+F5.

ctrl_f6 

The shortcut keys CTRL+F6.

ctrl_f7 

The shortcut keys CTRL+F7.

ctrl_f8 

The shortcut keys CTRL+F8.

ctrl_f9 

The shortcut keys CTRL+F9.

ctrl_g 

The shortcut keys CTRL+G.

ctrl_h 

The shortcut keys CTRL+H.

ctrl_i 

The shortcut keys CTRL+I.

ctrl_ins 

The shortcut keys CTRL+INSERT.

ctrl_j 

The shortcut keys CTRL+J.

ctrl_k 

The shortcut keys CTRL+K.

ctrl_l 

The shortcut keys CTRL+L.

ctrl_m 

The shortcut keys CTRL+M.

ctrl_n 

The shortcut keys CTRL+N.

ctrl_o 

The shortcut keys CTRL+O.

ctrl_p 

The shortcut keys CTRL+P.

ctrl_q 

The shortcut keys CTRL+Q.

ctrl_r 

The shortcut keys CTRL+R.

ctrl_s 

The shortcut keys CTRL+S.

ctrl_shift_0 

The shortcut keys CTRL+SHIFT+0.

ctrl_shift_1 

The shortcut keys CTRL+SHIFT+1.

ctrl_shift_2 

The shortcut keys CTRL+SHIFT+2.

ctrl_shift_3 

The shortcut keys CTRL+SHIFT+3.

ctrl_shift_4 

The shortcut keys CTRL+SHIFT+4.

ctrl_shift_5 

The shortcut keys CTRL+SHIFT+5.

ctrl_shift_6 

The shortcut keys CTRL+SHIFT+6.

ctrl_shift_7 

The shortcut keys CTRL+SHIFT+7.

ctrl_shift_8 

The shortcut keys CTRL+SHIFT+8.

ctrl_shift_9 

The shortcut keys CTRL+SHIFT+9.

ctrl_shift_a 

The shortcut keys CTRL+SHIFT+A.

ctrl_shift_b 

The shortcut keys CTRL+SHIFT+B.

ctrl_shift_c 

The shortcut keys CTRL+SHIFT+C.

ctrl_shift_d 

The shortcut keys CTRL+SHIFT+D.

ctrl_shift_e 

The shortcut keys CTRL+SHIFT+E.

ctrl_shift_f 

The shortcut keys CTRL+SHIFT+F.

ctrl_shift_f1 

The shortcut keys CTRL+SHIFT+F1.

ctrl_shift_f10 

The shortcut keys CTRL+SHIFT+F10.

ctrl_shift_f11 

The shortcut keys CTRL+SHIFT+F11.

ctrl_shift_f12 

The shortcut keys CTRL+SHIFT+F12.

ctrl_shift_f2 

The shortcut keys CTRL+SHIFT+F2.

ctrl_shift_f3 

The shortcut keys CTRL+SHIFT+F3.

ctrl_shift_f4 

The shortcut keys CTRL+SHIFT+F4.

ctrl_shift_f5 

The shortcut keys CTRL+SHIFT+F5.

ctrl_shift_f6 

The shortcut keys CTRL+SHIFT+F6.

ctrl_shift_f7 

The shortcut keys CTRL+SHIFT+F7.

ctrl_shift_f8 

The shortcut keys CTRL+SHIFT+F8.

ctrl_shift_f9 

The shortcut keys CTRL+SHIFT+F9.

ctrl_shift_g 

The shortcut keys CTRL+SHIFT+G.

ctrl_shift_h 

The shortcut keys CTRL+SHIFT+H.

ctrl_shift_i 

The shortcut keys CTRL+SHIFT+I.

ctrl_shift_j 

The shortcut keys CTRL+SHIFT+J.

ctrl_shift_k 

The shortcut keys CTRL+SHIFT+K.

ctrl_shift_l 

The shortcut keys CTRL+SHIFT+L.

ctrl_shift_m 

The shortcut keys CTRL+SHIFT+M.

ctrl_shift_n 

The shortcut keys CTRL+SHIFT+N.

ctrl_shift_o 

The shortcut keys CTRL+SHIFT+O.

ctrl_shift_p 

The shortcut keys CTRL+SHIFT+P.

ctrl_shift_q 

The shortcut keys CTRL+SHIFT+Q.

ctrl_shift_r 

The shortcut keys CTRL+SHIFT+R.

ctrl_shift_s 

The shortcut keys CTRL+SHIFT+S.

ctrl_shift_t 

The shortcut keys CTRL+SHIFT+T.

ctrl_shift_u 

The shortcut keys CTRL+SHIFT+U.

ctrl_shift_v 

The shortcut keys CTRL+SHIFT+V.

ctrl_shift_w 

The shortcut keys CTRL+SHIFT+W.

ctrl_shift_x 

The shortcut keys CTRL+SHIFT+X.

ctrl_shift_y 

The shortcut keys CTRL+SHIFT+Y.

ctrl_shift_z 

The shortcut keys CTRL+SHIFT+Z.

ctrl_t 

The shortcut keys CTRL+T.

ctrl_u 

The shortcut keys CTRL+U.

ctrl_v 

The shortcut keys CTRL+V.

ctrl_w 

The shortcut keys CTRL+W.

ctrl_x 

The shortcut keys CTRL+X.

ctrl_y 

The shortcut keys CTRL+Y.

ctrl_z 

The shortcut keys CTRL+Z.

del 

The shortcut keys DELETE.

f1 

The shortcut keys F1.

f10 

The shortcut keys F10.

f11 

The shortcut keys F11.

f12 

The shortcut keys F12.

f2 

The shortcut keys F2.

f3 

The shortcut keys F3.

f4 

The shortcut keys F4.

f5 

The shortcut keys F5.

f6 

The shortcut keys F6.

f7 

The shortcut keys F7.

f8 

The shortcut keys F8.

f9 

The shortcut keys F9.

ins 

The shortcut keys INSERT.

none 

No shortcut key is associated with the menu item.

shift_del 

The shortcut keys SHIFT+DELETE.

shift_f1 

The shortcut keys SHIFT+F1.

shift_f10 

The shortcut keys SHIFT+F10.

shift_f11 

The shortcut keys SHIFT+11.

shift_f12 

The shortcut keys SHIFT+F12.

shift_f2 

The shortcut keys SHIFT+F2.

shift_f3 

The shortcut keys SHIFT+F3.

shift_f4 

The shortcut keys SHIFT+F4.

shift_f5 

The shortcut keys SHIFT+F5.

shift_f6 

The shortcut keys SHIFT+F6.

shift_f7 

The shortcut keys SHIFT+F7.

shift_f8 

The shortcut keys SHIFT+F8.

shift_f9 

The shortcut keys SHIFT+F9.

shift_ins 

The shortcut keys SHIFT+INSERT.

cmd_0 

The shortcut keys CMD+0.

cmd_1 

The shortcut keys CMD+1.

cmd_2 

The shortcut keys CMD+2.

cmd_3 

The shortcut keys CMD+3.

cmd_4 

The shortcut keys CMD+4.

cmd_5 

The shortcut keys CMD+5.

cmd_6 

The shortcut keys CMD+6.

cmd_7 

The shortcut keys CMD+7.

cmd_8 

The shortcut keys CMD+8.

cmd_9 

The shortcut keys CMD+9.

cmd_a 

The shortcut keys CMD+A.

cmd_b 

The shortcut keys CMD+B.

cmd_c 

The shortcut keys CMD+C.

cmd_d 

The shortcut keys CMD+D.

cmd_del 

The shortcut keys CMD+DELETE.

cmd_e 

The shortcut keys CMD+E.

cmd_f 

The shortcut keys CMD+F.

cmd_f1 

The shortcut keys CMD+F1.

cmd_f10 

The shortcut keys CMD+F10.

cmd_f11 

The shortcut keys CMD+F11.

cmd_f12 

The shortcut keys CMD+F12.

cmd_f2 

The shortcut keys CMD+F2.

cmd_f3 

The shortcut keys CMD+F3.

cmd_f4 

The shortcut keys CMD+F4.

cmd_f5 

The shortcut keys CMD+F5.

cmd_f6 

The shortcut keys CMD+F6.

cmd_f7 

The shortcut keys CMD+F7.

cmd_f8 

The shortcut keys CMD+F8.

cmd_f9 

The shortcut keys CMD+F9.

cmd_g 

The shortcut keys CMD+G.

cmd_h 

The shortcut keys CMD+H.

cmd_i 

The shortcut keys CMD+I.

cmd_ins 

The shortcut keys CMD+INSERT.

cmd_j 

The shortcut keys CMD+J.

cmd_k 

The shortcut keys CMD+K.

cmd_l 

The shortcut keys CMD+L.

cmd_m 

The shortcut keys CMD+M.

cmd_n 

The shortcut keys CMD+N.

cmd_o 

The shortcut keys CMD+O.

cmd_p 

The shortcut keys CMD+P.

cmd_q 

The shortcut keys CMD+Q.

cmd_r 

The shortcut keys CMD+R.

cmd_s 

The shortcut keys CMD+S.

cmd_shift_0 

The shortcut keys CMD+SHIFT+0.

cmd_shift_1 

The shortcut keys CMD+SHIFT+1.

cmd_shift_2 

The shortcut keys CMD+SHIFT+2.

cmd_shift_3 

The shortcut keys CMD+SHIFT+3.

cmd_shift_4 

The shortcut keys CMD+SHIFT+4.

cmd_shift_5 

The shortcut keys CMD+SHIFT+5.

cmd_shift_6 

The shortcut keys CMD+SHIFT+6.

cmd_shift_7 

The shortcut keys CMD+SHIFT+7.

cmd_shift_8 

The shortcut keys CMD+SHIFT+8.

cmd_shift_9 

The shortcut keys CMD+SHIFT+9.

cmd_shift_a 

The shortcut keys CMD+SHIFT+A.

cmd_shift_b 

The shortcut keys CMD+SHIFT+B.

cmd_shift_c 

The shortcut keys CMD+SHIFT+C.

cmd_shift_d 

The shortcut keys CMD+SHIFT+D.

cmd_shift_e 

The shortcut keys CMD+SHIFT+E.

cmd_shift_f 

The shortcut keys CMD+SHIFT+F.

cmd_shift_f1 

The shortcut keys CMD+SHIFT+F1.

cmd_shift_f10 

The shortcut keys CMD+SHIFT+F10.

cmd_shift_f11 

The shortcut keys CMD+SHIFT+F11.

cmd_shift_f12 

The shortcut keys CMD+SHIFT+F12.

cmd_shift_f2 

The shortcut keys CMD+SHIFT+F2.

cmd_shift_f3 

The shortcut keys CMD+SHIFT+F3.

cmd_shift_f4 

The shortcut keys CMD+SHIFT+F4.

cmd_shift_f5 

The shortcut keys CMD+SHIFT+F5.

cmd_shift_f6 

The shortcut keys CMD+SHIFT+F6.

cmd_shift_f7 

The shortcut keys CMD+SHIFT+F7.

cmd_shift_f8 

The shortcut keys CMD+SHIFT+F8.

cmd_shift_f9 

The shortcut keys CMD+SHIFT+F9.

cmd_shift_g 

The shortcut keys CMD+SHIFT+G.

cmd_shift_h 

The shortcut keys CMD+SHIFT+H.

cmd_shift_i 

The shortcut keys CMD+SHIFT+I.

cmd_shift_j 

The shortcut keys CMD+SHIFT+J.

cmd_shift_k 

The shortcut keys CMD+SHIFT+K.

cmd_shift_l 

The shortcut keys CMD+SHIFT+L.

cmd_shift_m 

The shortcut keys CMD+SHIFT+M.

cmd_shift_n 

The shortcut keys CMD+SHIFT+N.

cmd_shift_o 

The shortcut keys CMD+SHIFT+O.

cmd_shift_p 

The shortcut keys CMD+SHIFT+P.

cmd_shift_q 

The shortcut keys CMD+SHIFT+Q.

cmd_shift_r 

The shortcut keys CMD+SHIFT+R.

cmd_shift_s 

The shortcut keys CMD+SHIFT+S.

cmd_shift_t 

The shortcut keys CMD+SHIFT+T.

cmd_shift_u 

The shortcut keys CMD+SHIFT+U.

cmd_shift_v 

The shortcut keys CMD+SHIFT+V.

cmd_shift_w 

The shortcut keys CMD+SHIFT+W.

cmd_shift_x 

The shortcut keys CMD+SHIFT+X.

cmd_shift_y 

The shortcut keys CMD+SHIFT+Y.

cmd_shift_z 

The shortcut keys CMD+SHIFT+Z.

cmd_t 

The shortcut keys CMD+T.

cmd_u 

The shortcut keys CMD+U.

cmd_v 

The shortcut keys CMD+V.

cmd_w 

The shortcut keys CMD+W.

cmd_x 

The shortcut keys CMD+X.

cmd_ 

The shortcut keys CMD+Y.

cmd_z 

The shortcut keys CMD+Z.

opt_0 

The shortcut keys ALT+0.

opt_1 

The shortcut keys ALT+1.

opt_2 

The shortcut keys ALT+2.

opt_3 

The shortcut keys ALT+3.

opt_4 

The shortcut keys ALT+4.

opt_5 

The shortcut keys ALT+5.

opt_6 

The shortcut keys ALT+6.

opt_7 

The shortcut keys ALT+7.

opt_8 

The shortcut keys ALT+8.

opt_9 

The shortcut keys ALT+9.

opt_bksp 

The shortcut keys ALT+BACKSPACE.

opt_down_arrow 

The shortcut keys ALT+DOWNARROW.

opt_f1 

The shortcut keys ALT+F1.

opt_f10 

The shortcut keys ALT+F10.

opt_f11 

The shortcut keys ALT+F11.

opt_f12 

The shortcut keys ALT+F12.

opt_f2 

The shortcut keys ALT+F2.

opt_f3 

The shortcut keys ALT+F3.

opt_f4 

The shortcut keys ALT+F4.

opt_f5 

The shortcut keys ALT+F5.

opt_f6 

The shortcut keys ALT+F6.

opt_f7 

The shortcut keys ALT+F7.

opt_f8 

The shortcut keys ALT+F8.

opt_f9 

The shortcut keys ALT+F9.

opt_left_arrow 

The shortcut keys ALT+LEFTARROW.

opt_right_arrow 

The shortcut keys ALT+RIGHTARROW.

opt_up_arrow 

The shortcut keys ALT+UPARROW.

◆ size_type

enum class xtd::forms::size_type
strong

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

Specifies how rows or columns of user interface (UI) elements should be sized relative to their container.

Header
#include <xtd/forms/size_type>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration to set the value of the size_mode property of the picture_box.
Enumerator
auto_size 

The control should be automatically sized to share space with its peers.

absolute 

The control should be sized to an exact number of pixels.

percent 

The control should be sized as a percentage of the parent container.

◆ splitter_style

enum class xtd::forms::splitter_style
strong

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

Represent splitter style used by splitter control.

Header
#include <xtd/forms/splitter_style>
Namespace
xtd::forms
Library
xtd.forms
Enumerator
draw_line 

Draw line splitter style.

update_children 

Update children splitter style.

◆ status_bar_panel_auto_size

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

Specifies how a xtd::forms::status_bar_panel on a xtd::forms::status_bar content behaves when the content resizes.

Header
#include <xtd/forms/status_bar_panel_auto_size>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by the xtd::forms::status_bar_panel::auto_size property. The xtd::forms::status_bar_panel::auto_size property specifies how a xtd::forms::status_bar_panel is autosized on a xtd::forms::status_bar content.
Enumerator
none 

The xtd::forms::status_bar_panel does not change size when the xtd::forms::status_bar control resizes.

spring 

The xtd::forms::status_bar_panel shares the available space on the xtd::forms::status_bar (the space not taken up by other panels whose xtd::forms::status_bar_panel::auto_size property is set to None or xtd::forms::status_bar_panel_auto_size::contents) with other panels that have their xtd::forms::status_bar_panel::auto_size property set to xtd::forms::status_bar_panel_auto_size::spring.

contents 

The width of the xtd::forms::status_bar_panel is determined by its contents.

◆ status_bar_panel_border_style

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

Specifies the appearance of the border for a xtd::forms::status_bar_panel on a xtd::forms::status_bar control.

Header
#include <xtd/forms/status_bar_panel_bo>
Namespace
xtd::forms
Library
xtd.formsrder_style
Remarks
This enumeration is used by the xtd::forms::status_bar_panel::border_style property of the xtd::forms::status_bar_panel class. The xtd::forms::status_bar_panelborder_style property enables you to specify the style of border to display on a xtd::forms::status_bar_panel within a xtd::forms::status_bar.
Enumerator
none 

No border is displayed.

outset 

The xtd::forms::status_bar_panel is displayed with a three-dimensional outset border.

inset 

The xtd::forms::status_bar_panel is displayed with a three-dimensional inset border.

raised 

Defines a raised border. Same as xtd::forms::status_bar_panel_border_style::outset.

sunken 

Defines a sunken border. Same as xtd::forms::status_bar_panel_border_style::inset.

◆ status_bar_panel_style

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

Specifies whether a xtd::forms::status_bar_panel object on a xtd::forms::status_bar control is owner-drawn or system-drawn.

Header
#include <xtd/forms/status_bar_panel_style>
Namespace
xtd::forms:
Library
xtd.forms
Remarks
This enumeration is used by members such as xtd::forms::tool_bar_button::style.
The toolbar button appearance is determined by the xtd::forms::tool_bar::appearance property of the toolbar. Setting the xtd::forms::tool_bar::appearance property to xtd::forms::tool_bar_appearance::flat will give the toolbar and its buttons a flat appearance. As the mouse pointer moves over the buttons, they take on a three-dimensional appearance. Also, when the toolbar has a flat appearance, button separators appear as a line rather than as a space between the buttons.
Enumerator
text 

The xtd::forms::status_bar_panel displays text in the standard font.

owner_draw 

The xtd::forms::status_bar_panel is drawn by the owner.

control 

The xtd::forms::status_bar_panel contains a xtd::forms::control.

◆ tab_alignment

enum class xtd::forms::tab_alignment
strong

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

Specifies the locations of the tabs in a tab control.

Header
#include <xtd/forms/tab_alignment>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by members such as tab_control::alignment.
Enumerator
top 

The tabs are located across the top of the control.

bottom 

The tabs are located across the bottom of the control.

left 

The tabs are located along the left edge of the control.

right 

The tabs are located along the right edge of the control.

◆ text_format_flags

enum class xtd::forms::text_format_flags
strong

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

Specifies the display and layout information for text strings.

Header
#include <xtd/forms/text_format_flags>
Namespace
xtd::forms
Library
xtd.forms
Remarks
The text_format_flags enumeration is used by the text_renderer when drawing and measuring text. The text_renderer does not support adding tab stops to drawn text, although you can expand existing tab stops using the expand_tabs flag.
Enumerator
default_format 

Applies the default formatting, which is left-aligned.

glyph_overhang_padding 

Adds padding to the bounding rectangle to accommodate overhanging glyphs. This is the default.

left 

Aligns the text on the left side of the clipping area. This is the default.

top 

Aligns the text on the top of the bounding rectangle. This is the default.

horizontal_center 

Centers the text horizontally within the bounding rectangle.

right 

Aligns the text on the right side of the clipping area.

vertical_center 

Centers the text vertically, within the bounding rectangle.

bottom 

Aligns the text on the bottom of the bounding rectangle. Applied only when the text is a single line.v.

word_break 

Breaks the text at the end of a word.

single_line 

Displays the text in a single line.

expand_tabs 

Expands tab characters. The default number of characters per tab is eight. The word_ellipsis, path_ellipsis, and end_ellipsis values cannot be used with expand_tabs.

no_clipping 

Allows the overhanging parts of glyphs and unwrapped text reaching outside the formatting rectangle to show.

external_leading 

Includes the font external leading in line height. Typically, external leading is not included in the height of a line of text.

no_prefix 

Turns off processing of prefix characters. Typically, the ampersand (&) mnemonic-prefix character is interpreted as a directive to underscore the character that follows, and the double-ampersand (&&) mnemonic-prefix characters as a directive to print a single ampersand. By specifying no_prefix, this processing is turned off. For example, an input string of "A&bc&&d" with no_prefix applied would result in output of "A&bc&&d". Compare with prefix_only.

internal 

Uses the system font to calculate text metrics.

text_box_control 

Specifies the text should be formatted for display on a TextBox control.

path_ellipsis 

Removes the center of trimmed lines and replaces it with an ellipsis. When used to draw text by text_renderer, the string is not modified unless the modify_string flag is specified. Compare with end_ellipsis and word_ellipsis.

end_ellipse 

Removes the end of trimmed lines, and replaces them with an ellipsis. When used to draw text by text_renderer, the string is not modified unless the modify_string flag is specified. Compare with path_ellipsis and word_ellipsis.

modify_string 

Has no effect on the drawn text or text measurements. When used to draw text by TextRenderer, modifies the specified string parameter to match the displayed text if ellipsis are shown. This value has no effect unless end_ellipsis or path_ellipsis is specified.

right_to_left 

Displays the text from right to left.

word_ellipsis 

Trims the line to the nearest word and an ellipsis is placed at the end of a trimmed line. Compare with end_ellipsis and path_ellipsis.

no_full_width_characterB_break 

A legacy value that has no effect. It prevents a line break at a double-wide character string, so that the line-breaking rule is equivalent to that for single-wide character strings.

hide_prefix 

Ignores the ampersand (&) prefix character in the text, so that the letter that follows won't be underlined, but other mnemonic-prefix characters are still processed.

prefix_only 

Draws only an underline at the position of the character following the ampersand (&) prefix character and doesn't draw any other characters in the string.

preserve_graphics_clipping 

Preserves the clipping specified by a graphics object. Applies only to methods receiving an idevice_context that is a graphics.

preserve_graphics_translate_transform 

Preserves the transformation specified by a graphics. Applies only to methods receiving an ideviceContext that is a graphics.

no_padding 

Does not add padding to the bounding rectangle.

left_and_right_padding 

Adds padding to both sides of the bounding rectangle.

◆ tick_style

enum class xtd::forms::tick_style
strong

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

Specifies the location of tick marks in a track_bar control.

Header
#include <xtd/forms/tick_style>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration to set the value of the tick_style property of the track_bar control.
Enumerator
none 

No tick marks appear in the control.

top_left 

Tick marks are located on the top of a horizontal control or on the left of a vertical control.

bottom_right 

Tick marks are located on the bottom of a horizontal control or on the right side of a vertical control.

both 

Tick marks are located on both sides of the control.

◆ tool_bar_appearance

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

Specifies the type of toolbar to display.

Header
#include <xtd/forms/tool_bar_appearance>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by members such as xtd::forms:tool_bar::appearance.
Set the xtd::forms:tool_bar::appearance property of the toolbar to xtd::forms:tool_bar_appearance::flat to give the toolbar and its buttons a flat appearance. As the mouse pointer moves over the buttons, their appearance changes to three-dimensional. Button separators appear as lines rather than spaces between the buttons when the toolbar has a flat appearance.
Enumerator
normal 

The toolbar and buttons appear flat, but the buttons change to three-dimensional as the mouse pointer moves over them.

flat 

The toolbar and buttons appear as standard three-dimensional controls.

system 

The toolbar and buttons appear as system controls.

◆ tool_bar_button_style

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

Specifies the button style within a toolbar.

Header
#include <xtd/forms/tool_bar_button_style>
Namespace
xtd::forms:
Library
xtd.forms
Remarks
This enumeration is used by members such as xtd::forms::tool_bar_button::style.
The toolbar button appearance is determined by the xtd::forms::tool_bar::appearance property of the toolbar. Setting the xtd::forms::tool_bar::appearance property to xtd::forms::tool_bar_appearance::flat will give the toolbar and its buttons a flat appearance. As the mouse pointer moves over the buttons, they take on a three-dimensional appearance. Also, when the toolbar has a flat appearance, button separators appear as a line rather than as a space between the buttons.
Enumerator
push_button 

A standard, three-dimensional button.

toggle_button 

A toggle button that appears sunken when clicked and retains the sunken appearance until clicked again.

separator 

A space or line between toolbar buttons. The appearance depends on the value of the xtd::forms::tool_bar::appearance property.

drop_down_button 

A drop-down control that displays a menu or other window when clicked.

stretchable_separator 

A stretchable space with or without line between toolbar buttons. The appearance depends on the value of the xtd::forms::tool_bar::appearance property.

control 

Use to add any control to the toolbar. Using with xtd::forms::tool_bar_button::control property.

◆ tool_bar_text_align

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

Specifies the type of toolbar to display.

Header
#include <xtd/forms/tool_bar_text_align>
Namespace
xtd::forms::style_sheets
Library
xtd.forms
Remarks
This enumeration is used by members such as xtd::forms::tool_bar.text_align.
Room is reserved for an image to be displayed on toolbar buttons. The alignment of text is in relation to the image displayed on the toolbar button. If no image is assigned to the button, the reserved space will appear to the left, or above the text displayed.
Enumerator
underneath 

The text is aligned underneath the toolbar button image.

right 

The text is aligned to the right of the toolbar button image.

◆ check_box_state

#include <xtd.forms/include/xtd/forms/visual_styles/check_box_state.h>

Specifies the visual state of a check box that is drawn with visual styles.

Header
#include <xtd/forms/visual_styles/check_box_state>
Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_elements::check_box_state values correspond to the states of the visual style element objects exposed by the xtd::forms::check_box class. The xtd::forms::visual_styles::check_box_state values are also used as an argument in the xtd::forms::check_box_renderer::draw_check_box method.
Enumerator
unchecked_normal 

The check box is unchecked.

unchecked_hot 

The check box is unchecked and hot.

unchecked_pressed 

The check box is unchecked and pressed.

unchecked_disabled 

The check box is unchecked and disabled.

checked_normal 

The check box is checked.

checked_hot 

The check box is checked and hot.

checked_pressed 

The check box is checked and pressed.

checked_disabled 

The check box is checked and disabled.

mixed_normal 

The check box is three-state.

mixed_hot 

The check box is three-state and hot.

mixed_pressed 

The check box is three-state and pressed.

mixed_disabled 

The check box is three-state and disabled.

◆ control_state

#include <xtd.forms/include/xtd/forms/visual_styles/control_state.h>

Specifies the visual state of a control that is drawn with visual styles.

Header
#include <xtd/forms/visual_styles/control_state>
Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_styles::control_state values correspond to the states of the visual style element objects exposed by the xtd::forms::control class. The xtd::forms::visual_styles::control_state values are also used as an argument in the xtd::forms::control_renderer::draw_control method.
Enumerator
normal 

The control has the normal appearance.

hot 

The control is hot.

pressed 

The control is pressed.

disabled 

The control is disabled.

◆ push_button_state

#include <xtd.forms/include/xtd/forms/visual_styles/push_button_state.h>

Specifies the visual state of a button that is drawn with visual styles.

Header
#include <xtd/forms/visual_styles/push_button_state>
Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_styles::push_button_state values correspond to the states of the visual style element objects exposed by the xtd::forms::push_button class. The xtd::forms::visual_styles::push_button_state values are also used as an argument in the xtd::forms::button_renderer::draw_button method.
Enumerator
normal 

The button has the normal appearance.

hot 

The button is hot.

pressed 

The button is pressed.

checked 

The button is checked.

disabled 

The button is disabled.

default_state 

The button has the default appearance.

◆ radio_button_state

#include <xtd.forms/include/xtd/forms/visual_styles/radio_button_state.h>

Specifies the visual state of a radio button that is drawn with visual styles.

Header
#include <xtd/forms/visual_styles/radio_button_state>
Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_styles::radio_button_state values correspond to the states of the visual style element objects exposed by the xtd::forms::radio_button class. The xtd::forms::visual_styles::radio_button_state values are also used as an argument in the xtd::forms::radio_button_renderer::draw_radio_button method.
Enumerator
unchecked_normal 

The radio button is unchecked.

unchecked_hot 

The radio button is unchecked and hot.

unchecked_pressed 

The radio button is unchecked and pressed.

unchecked_disabled 

The radio button is unchecked and disabled.

checked_normal 

The radio button is checked.

checked_hot 

The radio button is checked and hot.

checked_pressed 

The radio button is checked and pressed.

checked_disabled 

The radio button is checked and disabled.

◆ toggle_button_state

#include <xtd.forms/include/xtd/forms/visual_styles/toggle_button_state.h>

Specifies the visual state of a check box that is drawn with visual styles.

Header
#include <xtd/forms/visual_styles/toggle_button_state>
Namespace
xtd::forms::visual_style
Library
xtd.forms
Remarks
The xtd::forms::visual_styles::toggle_button_state values correspond to the states of the visual style element objects exposed by the xtd::forms::toggle_button class. The xtd::forms::visual_styles::toggle_button_state values are also used as an argument in the xtd::forms::toggle_button_renderer::toggle_button method.
Enumerator
unchecked_normal 

The check box is unchecked.

unchecked_hot 

The check box is unchecked and hot.

unchecked_pressed 

The check box is unchecked and pressed.

unchecked_disabled 

The check box is unchecked and disabled.

checked_normal 

The check box is checked.

checked_hot 

The check box is checked and hot.

checked_pressed 

The check box is checked and pressed.

checked_disabled 

The check box is checked and disabled.

mixed_normal 

The check box is three-state.

mixed_hot 

The check box is three-state and hot.

mixed_pressed 

The check box is three-state and pressed.

mixed_disabled 

The check box is three-state and disabled.