xtd 0.2.0
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.

Collaboration diagram for xtd.forms:

Classes

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::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::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::settings
 Represent settings associate to the application. 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::system_texts
 Provides a collection of string objects for use by a Windows Forms application. 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...
 
class  xtd::toolkit
 Represents a toolkit. More...
 

Typedefs

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

Enumerations

enum  xtd::forms::anchor_styles {
  xtd::forms::anchor_styles::none = 0b0,
  xtd::forms::anchor_styles::top = 0b1,
  xtd::forms::anchor_styles::bottom = 0b10,
  xtd::forms::anchor_styles::left = 0b100,
  xtd::forms::anchor_styles::right = 0b1000,
  xtd::forms::anchor_styles::all = top | bottom | left | right
}
 Specifies how a control anchors to the edges of its container. More...
 
enum  xtd::forms::appearance {
  xtd::forms::appearance::normal = 0,
  xtd::forms::appearance::button = 1,
  xtd::forms::appearance::switch_button = 2
}
 Specifies the appearance of a control. More...
 
enum  xtd::forms::arrange_direction {
  xtd::forms::arrange_direction::down = 0x0004,
  xtd::forms::arrange_direction::left = 0x0000,
  xtd::forms::arrange_direction::right = 0x0000,
  xtd::forms::arrange_direction::up = 0x0004
}
 Specifies the direction the system uses to arrange minimized windows. More...
 
enum  xtd::forms::arrange_starting_position {
  xtd::forms::arrange_starting_position::bottom_left = 0,
  xtd::forms::arrange_starting_position::bottom_right = 1,
  xtd::forms::arrange_starting_position::top_left = 2,
  xtd::forms::arrange_starting_position::top_right = 3,
  xtd::forms::arrange_starting_position::hide = 8
}
 Specifies the starting position that the system uses to arrange minimized windows. More...
 
enum  xtd::forms::auto_size_mode {
  xtd::forms::auto_size_mode::grow_and_shrink = 0,
  xtd::forms::auto_size_mode::grow_only = 1
}
 Specifies how a control will behave when its auto_size property is enabled. More...
 
enum  xtd::forms::battery_charge_status {
  xtd::forms::battery_charge_status::high = 0b1,
  xtd::forms::battery_charge_status::low = 0b10,
  xtd::forms::battery_charge_status::critical = 0b100,
  xtd::forms::battery_charge_status::charging = 0b1000,
  xtd::forms::battery_charge_status::no_system_battery = 0b10000000,
  xtd::forms::battery_charge_status::unknown = 0b11111111
}
 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  xtd::forms::boot_mode {
  xtd::forms::boot_mode::normal = 0,
  xtd::forms::boot_mode::fail_safe = 1,
  xtd::forms::boot_mode::fail_safe_with_network = 2
}
 Specifies the mode to start the computer in. More...
 
enum  xtd::forms::border_sides {
  xtd::forms::border_sides::none = 0b0,
  xtd::forms::border_sides::top = 0b1,
  xtd::forms::border_sides::bottom = 0b10,
  xtd::forms::border_sides::left = 0b100,
  xtd::forms::border_sides::right = 0b1000,
  xtd::forms::border_sides::all = top | bottom | left | right
}
 Specifies how a control anchors to the edges of its container. More...
 
enum  xtd::forms::border_style {
  xtd::forms::border_style::none,
  xtd::forms::border_style::hidden = none,
  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 = solid,
  xtd::forms::border_style::fixed_3d = inset,
  xtd::forms::border_style::sunken = inset,
  xtd::forms::border_style::raised = outset,
  xtd::forms::border_style::bevel_sunken = bevel_inset,
  xtd::forms::border_style::bevel_raised = bevel_outset
}
 Specifies the border style for a control. More...
 
enum  xtd::forms::bounds_specified {
  xtd::forms::bounds_specified::none = 0,
  xtd::forms::bounds_specified::x = 0b1,
  xtd::forms::bounds_specified::y = 0b10,
  xtd::forms::bounds_specified::location = x | y,
  xtd::forms::bounds_specified::width = 0b100,
  xtd::forms::bounds_specified::height = 0b1000,
  xtd::forms::bounds_specified::size = width | height,
  xtd::forms::bounds_specified::all = location | size
}
 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  xtd::forms::button_state {
  xtd::forms::button_state::normal = 0b0,
  xtd::forms::button_state::inactive = 0b100000000,
  xtd::forms::button_state::pushed = 0b1000000000,
  xtd::forms::button_state::checked = 0b10000000000,
  xtd::forms::button_state::flat = 0b100000000000000,
  xtd::forms::button_state::all = inactive | pushed | checked | flat
}
 Specifies the appearance of a button. More...
 
enum  xtd::forms::character_casing {
  xtd::forms::character_casing::normal = 0,
  xtd::forms::character_casing::upper = 1,
  xtd::forms::character_casing::lower = 2
}
 Specifies the case of characters in a text_box control. More...
 
enum  xtd::forms::visual_styles::check_box_state {
  xtd::forms::visual_styles::check_box_state::unchecked_normal = 1,
  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  xtd::forms::check_state {
  xtd::forms::check_state::unchecked = 0,
  xtd::forms::check_state::checked = 1,
  xtd::forms::check_state::indeterminate = 2
}
 Specifies the state of a control, such as a check box, that can be checked, unchecked, or set to an indeterminate state. More...
 
enum  xtd::forms::close_reason {
  xtd::forms::close_reason::none = 0,
  xtd::forms::close_reason::windows_shut_down = 1,
  xtd::forms::close_reason::mdi_form_closing = 2,
  xtd::forms::close_reason::user_closing = 3,
  xtd::forms::close_reason::task_manager_closing = 4,
  xtd::forms::close_reason::form_owner_closing = 5,
  xtd::forms::close_reason::application_exit_call = 6
}
 Specifies the reason that a form was closed. More...
 
enum  xtd::forms::color_box_styles {
  xtd::forms::color_box_styles::none = 0,
  xtd::forms::color_box_styles::alpha_color = 0b1,
  xtd::forms::color_box_styles::allow_full_open = 0b10,
  xtd::forms::color_box_styles::any_color = 0b100,
  xtd::forms::color_box_styles::full_open = 0b1000,
  xtd::forms::color_box_styles::show_help = 0b10000,
  xtd::forms::color_box_styles::solid_color_only = 0b100000
}
 Specifies constants defining which color_box styles is used. More...
 
enum  xtd::forms::combo_box_style {
  xtd::forms::combo_box_style::simple = 1,
  xtd::forms::combo_box_style::drop_down = 2,
  xtd::forms::combo_box_style::drop_down_list = 3
}
 Specifies the combo_box style. More...
 
enum  xtd::forms::content_alignment {
  xtd::forms::content_alignment::top_left = 0b1,
  xtd::forms::content_alignment::top_center = 0b10,
  xtd::forms::content_alignment::top_right = 0b100,
  xtd::forms::content_alignment::middle_left = 0b10000,
  xtd::forms::content_alignment::middle_center = 0b100000,
  xtd::forms::content_alignment::middle_right = 0b1000000,
  xtd::forms::content_alignment::bottom_left = 0b100000000,
  xtd::forms::content_alignment::bottom_center = 0b1000000000,
  xtd::forms::content_alignment::bottom_right = 0b10000000000
}
 Specifies alignment of content on the drawing surface. More...
 
enum  xtd::forms::control_appearance {
  xtd::forms::control_appearance::standard = 0,
  xtd::forms::control_appearance::system
}
 Specifies the appearance of a control. More...
 
enum  xtd::forms::visual_styles::control_state {
  xtd::forms::visual_styles::control_state::normal = 1,
  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  xtd::forms::control_styles {
  xtd::forms::control_styles::none = 0,
  xtd::forms::control_styles::container_control = 0b1,
  xtd::forms::control_styles::user_paint = 0b10,
  xtd::forms::control_styles::opaque = 0b100,
  xtd::forms::control_styles::resize_redraw = 0b10000,
  xtd::forms::control_styles::fixed_width = 0b100000,
  xtd::forms::control_styles::fixed_height = 0b1000000,
  xtd::forms::control_styles::standard_click = 0b100000000,
  xtd::forms::control_styles::selectable = 0b1000000000,
  xtd::forms::control_styles::user_mouse = 0b10000000000,
  xtd::forms::control_styles::supports_transparent_back_color = 0b100000000000,
  xtd::forms::control_styles::standard_double_click = 0b1000000000000,
  xtd::forms::control_styles::all_painting_in_wm_paint = 0b10000000000000,
  xtd::forms::control_styles::cache_text = 0b100000000000000,
  xtd::forms::control_styles::enable_notify_message = 0b1000000000000000,
  xtd::forms::control_styles::double_buffer = 0b10000000000000000,
  xtd::forms::control_styles::optimized_double_buffer = 0b100000000000000000,
  xtd::forms::control_styles::use_text_for_accessibility = 0b1000000000000000000
}
 Specifies the style and behavior of a control. More...
 
enum  xtd::forms::date_time_picker_format {
  xtd::forms::date_time_picker_format::long_format = 1,
  xtd::forms::date_time_picker_format::short_format = 2,
  xtd::forms::date_time_picker_format::time = 4,
  xtd::forms::date_time_picker_format::custom = 8
}
 Specifies the date and time format the date_time_picker control displays. More...
 
enum  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  xtd::forms::dialog_result {
  xtd::forms::dialog_result::none = 0,
  xtd::forms::dialog_result::ok = 1,
  xtd::forms::dialog_result::cancel = 2,
  xtd::forms::dialog_result::abort = 3,
  xtd::forms::dialog_result::retry = 4,
  xtd::forms::dialog_result::ignore = 5,
  xtd::forms::dialog_result::yes = 6,
  xtd::forms::dialog_result::no = 7
}
 Specifies identifiers to indicate the return value of a dialog box. More...
 
enum  xtd::forms::dock_style {
  xtd::forms::dock_style::none = 0,
  xtd::forms::dock_style::top = 1,
  xtd::forms::dock_style::bottom = 2,
  xtd::forms::dock_style::left = 3,
  xtd::forms::dock_style::right = 4,
  xtd::forms::dock_style::fill = 5
}
 Specifies the position and manner in which a control is docked. More...
 
enum  xtd::forms::dot_matrix_style {
  xtd::forms::dot_matrix_style::round,
  xtd::forms::dot_matrix_style::square,
  xtd::forms::dot_matrix_style::standard = round
}
 Represent dot matrix style used by dot_matrix_display control. More...
 
enum  xtd::forms::draw_item_state {
  xtd::forms::draw_item_state::none = 0b0,
  xtd::forms::draw_item_state::selected = 0b1,
  xtd::forms::draw_item_state::grayed = 0b10,
  xtd::forms::draw_item_state::disabled = 0b100,
  xtd::forms::draw_item_state::checked = 0b1000,
  xtd::forms::draw_item_state::focus = 0b1'0000,
  xtd::forms::draw_item_state::default_state = 0b10'0000,
  xtd::forms::draw_item_state::hot_light = 0b100'0000,
  xtd::forms::draw_item_state::inactive = 0b1000'00000,
  xtd::forms::draw_item_state::no_accelerator = 0b1'0000'0000,
  xtd::forms::draw_item_state::no_focus_rect = 0b10'0000'0000,
  xtd::forms::draw_item_state::combo_box_edit = 0b1'0000'0000'0000
}
 Specifies the state of an item that is being drawn. This enumeration supports a bitwise combination of its member values. More...
 
enum  xtd::forms::flat_style {
  xtd::forms::flat_style::flat = 0,
  xtd::forms::flat_style::popup,
  xtd::forms::flat_style::standard,
  xtd::forms::flat_style::system
}
 Specifies the appearance of a control. More...
 
enum  xtd::forms::font_box_options {
  xtd::forms::font_box_options::none = 0b0,
  xtd::forms::font_box_options::allow_simulations = 0b1,
  xtd::forms::font_box_options::allow_vector_fonts = 0b10,
  xtd::forms::font_box_options::allow_vertical_fonts = 0b100,
  xtd::forms::font_box_options::allow_script_change = 0b1000,
  xtd::forms::font_box_options::fixed_pitch_only = 0b10000,
  xtd::forms::font_box_options::scripts_only = 0b100000,
  xtd::forms::font_box_options::show_apply = 0b1000000,
  xtd::forms::font_box_options::show_color = 0b10000000,
  xtd::forms::font_box_options::show_effects = 0b100000000,
  xtd::forms::font_box_options::show_help = 0b1000000000,
  xtd::forms::font_box_options::all = allow_simulations | allow_vector_fonts | allow_vertical_fonts | allow_script_change | fixed_pitch_only | scripts_only | show_apply | show_color | show_effects | show_help
}
 Specifies options on a xtd::forms::font_box. More...
 
enum  xtd::forms::form_border_style {
  xtd::forms::form_border_style::none = 0,
  xtd::forms::form_border_style::fixed_single = 1,
  xtd::forms::form_border_style::fixed_3d = 2,
  xtd::forms::form_border_style::fixed_dialog = 3,
  xtd::forms::form_border_style::sizable = 4,
  xtd::forms::form_border_style::fixed_tool_window = 5,
  xtd::forms::form_border_style::sizable_tool_window = 6
}
 Specifies the border styles for a form. More...
 
enum  xtd::forms::form_start_position {
  xtd::forms::form_start_position::manual = 0,
  xtd::forms::form_start_position::center_screen = 1,
  xtd::forms::form_start_position::windows_default_location = 2,
  xtd::forms::form_start_position::windows_default_bounds = 3,
  xtd::forms::form_start_position::center_parent = 4
}
 Specifies the initial position of a form. More...
 
enum  xtd::forms::form_window_state {
  xtd::forms::form_window_state::normal = 0,
  xtd::forms::form_window_state::minimized = 1,
  xtd::forms::form_window_state::maximized = 2,
  xtd::forms::form_window_state::full_screen = 3
}
 Specifies how a form window is displayed. More...
 
enum  xtd::forms::horizontal_alignment {
  xtd::forms::horizontal_alignment::left = 0,
  xtd::forms::horizontal_alignment::right = 1,
  xtd::forms::horizontal_alignment::center = 2
}
 Specifies how an object or text in a control is horizontally aligned relative to an element of the control. More...
 
enum  xtd::forms::image_layout {
  xtd::forms::image_layout::none = 0,
  xtd::forms::image_layout::tile = 1,
  xtd::forms::image_layout::center = 2,
  xtd::forms::image_layout::stretch = 3,
  xtd::forms::image_layout::zoom = 4
}
 Specifies the position of the image on the control. More...
 
enum  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  xtd::forms::keys : long long {
  xtd::forms::keys::none = 0x00000000,
  xtd::forms::keys::lbutton = 0x00000001,
  xtd::forms::keys::rbutton = 0x00000002,
  xtd::forms::keys::cancel = 0x00000003,
  xtd::forms::keys::mbutton = 0x00000004,
  xtd::forms::keys::xbutton1 = 0x00000005,
  xtd::forms::keys::xbutton2 = 0x00000006,
  xtd::forms::keys::back = 0x00000008,
  xtd::forms::keys::tab = 0x00000009,
  xtd::forms::keys::line_feed = 0x0000000A,
  xtd::forms::keys::clear = 0x0000000C,
  xtd::forms::keys::enter = 0x0000000D,
  xtd::forms::keys::ret = enter,
  xtd::forms::keys::shift_key = 0x00000010,
  xtd::forms::keys::control_key = 0x00000011,
  xtd::forms::keys::menu = 0x00000012,
  xtd::forms::keys::pause = 0x00000013,
  xtd::forms::keys::caps_lock = 0x00000014,
  xtd::forms::keys::capital = 0x00000014,
  xtd::forms::keys::kana_mode = 0x00000015,
  xtd::forms::keys::hanguel_mode = 0x00000015,
  xtd::forms::keys::hangul_mode = 0x00000015,
  xtd::forms::keys::junja_mode = 0x00000017,
  xtd::forms::keys::final_mode = 0x00000018,
  xtd::forms::keys::kanji_mode = 0x00000019,
  xtd::forms::keys::hanja_mode = 0x00000019,
  xtd::forms::keys::escape = 0x0000001B,
  xtd::forms::keys::ime_convert = 0x0000001C,
  xtd::forms::keys::ime_nonconvert = 0x0000001D,
  xtd::forms::keys::ime_accept = 0x0000001E,
  xtd::forms::keys::ime_mode_change = 0x0000001F,
  xtd::forms::keys::space = 0x00000020,
  xtd::forms::keys::page_up = 0x00000021,
  xtd::forms::keys::prior = page_up,
  xtd::forms::keys::page_down = 0x00000022,
  xtd::forms::keys::next = page_down,
  xtd::forms::keys::end = 0x00000023,
  xtd::forms::keys::home = 0x00000024,
  xtd::forms::keys::left = 0x00000025,
  xtd::forms::keys::up = 0x00000026,
  xtd::forms::keys::right = 0x00000027,
  xtd::forms::keys::down = 0x00000028,
  xtd::forms::keys::select = 0x00000029,
  xtd::forms::keys::print = 0x0000002A,
  xtd::forms::keys::execute = 0x0000002B,
  xtd::forms::keys::print_screen = 0x0000002C,
  xtd::forms::keys::snapshot = print_screen,
  xtd::forms::keys::insert = 0x0000002D,
  xtd::forms::keys::del = 0x0000002E,
  xtd::forms::keys::help = 0x0000002F,
  xtd::forms::keys::d0 = 0x00000030,
  xtd::forms::keys::d1 = 0x00000031,
  xtd::forms::keys::d2 = 0x00000032,
  xtd::forms::keys::d3 = 0x00000033,
  xtd::forms::keys::d4 = 0x00000034,
  xtd::forms::keys::d5 = 0x00000035,
  xtd::forms::keys::d6 = 0x00000036,
  xtd::forms::keys::d7 = 0x00000037,
  xtd::forms::keys::d8 = 0x00000038,
  xtd::forms::keys::d9 = 0x00000039,
  xtd::forms::keys::a = 0x00000041,
  xtd::forms::keys::b = 0x00000042,
  xtd::forms::keys::c = 0x00000043,
  xtd::forms::keys::d = 0x00000044,
  xtd::forms::keys::e = 0x00000045,
  xtd::forms::keys::f = 0x00000046,
  xtd::forms::keys::g = 0x00000047,
  xtd::forms::keys::h = 0x00000048,
  xtd::forms::keys::i = 0x00000049,
  xtd::forms::keys::j = 0x0000004A,
  xtd::forms::keys::k = 0x0000004B,
  xtd::forms::keys::l = 0x0000004C,
  xtd::forms::keys::m = 0x0000004D,
  xtd::forms::keys::n = 0x0000004E,
  xtd::forms::keys::o = 0x0000004F,
  xtd::forms::keys::p = 0x00000050,
  xtd::forms::keys::q = 0x00000051,
  xtd::forms::keys::r = 0x00000052,
  xtd::forms::keys::s = 0x00000053,
  xtd::forms::keys::t = 0x00000054,
  xtd::forms::keys::u = 0x00000055,
  xtd::forms::keys::v = 0x00000056,
  xtd::forms::keys::w = 0x00000057,
  xtd::forms::keys::x = 0x00000058,
  xtd::forms::keys::y = 0x00000059,
  xtd::forms::keys::z = 0x0000005A,
  xtd::forms::keys::lwin = 0x0000005B,
  xtd::forms::keys::rwin = 0x0000005C,
  xtd::forms::keys::apps = 0x0000005D,
  xtd::forms::keys::sleep = 0x0000005F,
  xtd::forms::keys::num_pad0 = 0x00000060,
  xtd::forms::keys::num_pad1 = 0x00000061,
  xtd::forms::keys::num_pad2 = 0x00000062,
  xtd::forms::keys::num_pad3 = 0x00000063,
  xtd::forms::keys::num_pad4 = 0x00000064,
  xtd::forms::keys::num_pad5 = 0x00000065,
  xtd::forms::keys::num_pad6 = 0x00000066,
  xtd::forms::keys::num_pad7 = 0x00000067,
  xtd::forms::keys::num_pad8 = 0x00000068,
  xtd::forms::keys::num_pad9 = 0x00000069,
  xtd::forms::keys::multiply = 0x0000006A,
  xtd::forms::keys::add = 0x0000006B,
  xtd::forms::keys::separator = 0x0000006C,
  xtd::forms::keys::subtract = 0x0000006D,
  xtd::forms::keys::decimal = 0x0000006E,
  xtd::forms::keys::divide = 0x0000006F,
  xtd::forms::keys::f1 = 0x00000070,
  xtd::forms::keys::f2 = 0x00000071,
  xtd::forms::keys::f3 = 0x00000072,
  xtd::forms::keys::f4 = 0x00000073,
  xtd::forms::keys::f5 = 0x00000074,
  xtd::forms::keys::f6 = 0x00000075,
  xtd::forms::keys::f7 = 0x00000076,
  xtd::forms::keys::f8 = 0x00000077,
  xtd::forms::keys::f9 = 0x00000078,
  xtd::forms::keys::f10 = 0x00000079,
  xtd::forms::keys::f11 = 0x0000007A,
  xtd::forms::keys::f12 = 0x0000007B,
  xtd::forms::keys::f13 = 0x0000007C,
  xtd::forms::keys::f14 = 0x0000007D,
  xtd::forms::keys::f15 = 0x0000007E,
  xtd::forms::keys::f16 = 0x0000007F,
  xtd::forms::keys::f17 = 0x00000080,
  xtd::forms::keys::f18 = 0x00000081,
  xtd::forms::keys::f19 = 0x00000082,
  xtd::forms::keys::f20 = 0x00000083,
  xtd::forms::keys::f21 = 0x00000084,
  xtd::forms::keys::f22 = 0x00000085,
  xtd::forms::keys::f23 = 0x00000086,
  xtd::forms::keys::f24 = 0x00000087,
  xtd::forms::keys::num_lock = 0x00000090,
  xtd::forms::keys::scroll = 0x00000091,
  xtd::forms::keys::lshift_key = 0x000000A0,
  xtd::forms::keys::rshift_key = 0x000000A1,
  xtd::forms::keys::lcontrol_key = 0x000000A2,
  xtd::forms::keys::rcontrol_key = 0x000000A3,
  xtd::forms::keys::lmenu = 0x000000A4,
  xtd::forms::keys::rmenu = 0x000000A5,
  xtd::forms::keys::browser_back = 0x000000A6,
  xtd::forms::keys::browser_forward = 0x000000A7,
  xtd::forms::keys::browser_refresh = 0x000000A8,
  xtd::forms::keys::browser_stop = 0x000000A9,
  xtd::forms::keys::browser_search = 0x000000AA,
  xtd::forms::keys::browser_favorites = 0x000000AB,
  xtd::forms::keys::browser_home = 0x000000AC,
  xtd::forms::keys::volume_mute = 0x000000AD,
  xtd::forms::keys::volume_down = 0x000000AE,
  xtd::forms::keys::volume_up = 0x000000AF,
  xtd::forms::keys::media_next_track = 0x000000B0,
  xtd::forms::keys::media_previous_track = 0x000000B1,
  xtd::forms::keys::media_stop = 0x000000B2,
  xtd::forms::keys::media_play_pause = 0x000000B3,
  xtd::forms::keys::launch_mail = 0x000000B4,
  xtd::forms::keys::select_media = 0x000000B5,
  xtd::forms::keys::launch_application1 = 0x000000B6,
  xtd::forms::keys::launch_application2 = 0x000000B7,
  xtd::forms::keys::oem_semicolon = 0x000000BA,
  xtd::forms::keys::oem1 = oem_semicolon,
  xtd::forms::keys::oem_plus = 0x000000BB,
  xtd::forms::keys::oem_comma = 0x000000BC,
  xtd::forms::keys::oem_minus = 0x000000BD,
  xtd::forms::keys::oem_period = 0x000000BE,
  xtd::forms::keys::oem_question = 0x000000BF,
  xtd::forms::keys::oem2 = oem_question,
  xtd::forms::keys::oem_tilde = 0x000000C0,
  xtd::forms::keys::oem3 = oem_tilde,
  xtd::forms::keys::oem_open_brackets = 0x000000DB,
  xtd::forms::keys::oem4 = oem_open_brackets,
  xtd::forms::keys::oem_pipe = 0x000000DC,
  xtd::forms::keys::oem5 = oem_pipe,
  xtd::forms::keys::oem_close_brackets = 0x000000DD,
  xtd::forms::keys::oem6 = oem_close_brackets,
  xtd::forms::keys::oem_quotes = 0x000000DE,
  xtd::forms::keys::oem7 = oem_quotes,
  xtd::forms::keys::oem8 = 0x000000DF,
  xtd::forms::keys::oem_backslash = 0x000000E2,
  xtd::forms::keys::oem102 = oem_backslash,
  xtd::forms::keys::process_key = 0x000000E5,
  xtd::forms::keys::packet = 0x000000E7,
  xtd::forms::keys::attn = 0x000000F6,
  xtd::forms::keys::crsel = 0x000000F7,
  xtd::forms::keys::exsel = 0x000000F8,
  xtd::forms::keys::erase_eof = 0x000000F9,
  xtd::forms::keys::play = 0x000000FA,
  xtd::forms::keys::zoom = 0x000000FB,
  xtd::forms::keys::no_name = 0x000000FC,
  xtd::forms::keys::pa1 = 0x000000FD,
  xtd::forms::keys::oem_clear = 0x000000FE,
  xtd::forms::keys::command_key = 0x00000100,
  xtd::forms::keys::lcommand_key = 0x00000101,
  xtd::forms::keys::rcommand_key = 0x00000102,
  xtd::forms::keys::function_key = 0x00000104,
  xtd::forms::keys::shift = 0x00010000,
  xtd::forms::keys::control = 0x00020000,
  xtd::forms::keys::alt = 0x00040000,
  xtd::forms::keys::command = 0x00080000,
  xtd::forms::keys::meta = 0x00100000,
  xtd::forms::keys::function = 0x00200000,
  xtd::forms::keys::key_code = 0x0000FFFF,
  xtd::forms::keys::modifiers = 0xFFFF0000
}
 Specifies key codes and modifiers. More...
 
enum  xtd::forms::known_themed_color {
  xtd::forms::known_themed_color::accent = 1,
  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  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  xtd::forms::left_right_alignment {
  xtd::forms::left_right_alignment::left = 0,
  xtd::forms::left_right_alignment::right = 1
}
 Specifies whether an object or text is aligned to the left or right of a reference point. More...
 
enum  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  xtd::forms::loading_indicator_style {
  xtd::forms::loading_indicator_style::dots = 0,
  xtd::forms::loading_indicator_style::standard,
  xtd::forms::loading_indicator_style::system
}
 Specifies the appearance of a loading indicator control. More...
 
enum  xtd::forms::menu_item_kind {
  xtd::forms::menu_item_kind::normal = 0,
  xtd::forms::menu_item_kind::check = 1,
  xtd::forms::menu_item_kind::radio = 2,
  xtd::forms::menu_item_kind::drop_down = 3,
  xtd::forms::menu_item_kind::separator = 4
}
 Represent menu item kind used by xtd::forms::menu_item component. More...
 
enum  xtd::forms::message_dialog_buttons {
  xtd::forms::message_dialog_buttons::ok = 0,
  xtd::forms::message_dialog_buttons::ok_cancel = 1,
  xtd::forms::message_dialog_buttons::abort_retry_ignore = 2,
  xtd::forms::message_dialog_buttons::yes_no_cancel = 3,
  xtd::forms::message_dialog_buttons::yes_no = 4,
  xtd::forms::message_dialog_buttons::retry_cancel = 5
}
 Specifies constants defining which buttons to display on a message_box. More...
 
enum  xtd::forms::message_dialog_default_button {
  xtd::forms::message_dialog_default_button::button1 = 0,
  xtd::forms::message_dialog_default_button::button2 = 0x00000100L,
  xtd::forms::message_dialog_default_button::button3 = 0x00000200L
}
 Specifies constants defining the default button on a message_box. More...
 
enum  xtd::forms::message_dialog_icon {
  xtd::forms::message_dialog_icon::none = 0,
  xtd::forms::message_dialog_icon::hand = 0x00000010L,
  xtd::forms::message_dialog_icon::stop = 0x00000010L,
  xtd::forms::message_dialog_icon::error = 0x00000010L,
  xtd::forms::message_dialog_icon::question = 0x00000020L,
  xtd::forms::message_dialog_icon::exclamation = 0x00000030L,
  xtd::forms::message_dialog_icon::warning = 0x00000030L,
  xtd::forms::message_dialog_icon::asterisk = 0x00000040L,
  xtd::forms::message_dialog_icon::information = 0x00000040L
}
 Specifies constants defining which information to display. More...
 
enum  xtd::forms::message_dialog_options {
  xtd::forms::message_dialog_options::default_desktop_only = 0x00020000L,
  xtd::forms::message_dialog_options::right_align = 0x00080000L,
  xtd::forms::message_dialog_options::rtl_reading = 0x00100000L,
  xtd::forms::message_dialog_options::service_notification = 0x00200000L
}
 Specifies options on a message_box. More...
 
enum  xtd::forms::mouse_buttons {
  xtd::forms::mouse_buttons::none = 0,
  xtd::forms::mouse_buttons::left = 0x100000,
  xtd::forms::mouse_buttons::right = 0x200000,
  xtd::forms::mouse_buttons::middle = 0x400000,
  xtd::forms::mouse_buttons::x_button1 = 0x800000,
  xtd::forms::mouse_buttons::x_button2 = 0x1000000
}
 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  xtd::forms::open_file_box_options {
  xtd::forms::open_file_box_options::none = 0b0,
  xtd::forms::open_file_box_options::check_file_exists = 0b1,
  xtd::forms::open_file_box_options::dereference_link = 0b10,
  xtd::forms::open_file_box_options::validate_names = 0b100,
  xtd::forms::open_file_box_options::restore_directory = 0b1000,
  xtd::forms::open_file_box_options::enable_auto_upgrade = 0b10000,
  xtd::forms::open_file_box_options::show_hidden_files = 0b100000,
  xtd::forms::open_file_box_options::show_help = 0b1000000,
  xtd::forms::open_file_box_options::show_preview = 0b10000000,
  xtd::forms::open_file_box_options::support_multi_dotted_extensions = 0b100000000,
  xtd::forms::open_file_box_options::all = check_file_exists | dereference_link | validate_names | restore_directory | enable_auto_upgrade | show_hidden_files | show_help | show_preview | support_multi_dotted_extensions
}
 Specifies options on a xtd::forms::open_file_box. More...
 
enum  xtd::forms::orientation {
  xtd::forms::orientation::horizontal = 0,
  xtd::forms::orientation::vertical = 1
}
 Specifies the orientation of controls or elements of controls. More...
 
enum  xtd::forms::picture_box_size_mode {
  xtd::forms::picture_box_size_mode::normal = 0,
  xtd::forms::picture_box_size_mode::stretch_image = 1,
  xtd::forms::picture_box_size_mode::auto_size = 2,
  xtd::forms::picture_box_size_mode::center_image = 3,
  xtd::forms::picture_box_size_mode::zoom = 4
}
 Specifies how an image is positioned within a picture_box. More...
 
enum  xtd::forms::power_line_status {
  xtd::forms::power_line_status::offline = 0,
  xtd::forms::power_line_status::online = 1,
  xtd::forms::power_line_status::unknown = 0b11111111
}
 Specifies the system power status. More...
 
enum  xtd::forms::power_state {
  xtd::forms::power_state::suspend = 0,
  xtd::forms::power_state::hibernate = 1
}
 Defines identifiers that indicate a suspended system power activity mode. More...
 
enum  xtd::forms::progress_bar_style {
  xtd::forms::progress_bar_style::blocks = 0,
  xtd::forms::progress_bar_style::continuous = 1,
  xtd::forms::progress_bar_style::marquee = 2
}
 Specifies the progress_bar_style of controls or elements of controls. More...
 
enum  xtd::forms::progress_box_options {
  xtd::forms::progress_box_options::none = 0b0,
  xtd::forms::progress_box_options::show_cancel_button = 0b1,
  xtd::forms::progress_box_options::show_skip_button = 0b10,
  xtd::forms::progress_box_options::show_elapsed_time = 0b100,
  xtd::forms::progress_box_options::show_estimated_time = 0b1000,
  xtd::forms::progress_box_options::show_remaining_time = 0b10000,
  xtd::forms::progress_box_options::all = show_cancel_button | show_skip_button | show_elapsed_time | show_estimated_time | show_remaining_time
}
 Specifies options on a xtd::forms::progress_box. More...
 
enum  xtd::forms::visual_styles::push_button_state {
  xtd::forms::visual_styles::push_button_state::normal = 1,
  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  xtd::forms::visual_styles::radio_button_state {
  xtd::forms::visual_styles::radio_button_state::unchecked_normal = 1,
  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  xtd::forms::save_file_box_options {
  xtd::forms::save_file_box_options::none = 0b0,
  xtd::forms::save_file_box_options::check_file_exists = 0b1,
  xtd::forms::save_file_box_options::dereference_link = 0b10,
  xtd::forms::save_file_box_options::validate_names = 0b100,
  xtd::forms::save_file_box_options::restore_directory = 0b1000,
  xtd::forms::save_file_box_options::enable_auto_upgrade = 0b10000,
  xtd::forms::save_file_box_options::show_hidden_files = 0b100000,
  xtd::forms::save_file_box_options::show_help = 0b1000000,
  xtd::forms::save_file_box_options::show_preview = 0b10000000,
  xtd::forms::save_file_box_options::support_multi_dotted_extensions = 0b100000000,
  xtd::forms::save_file_box_options::all = check_file_exists | dereference_link | validate_names | restore_directory | enable_auto_upgrade | show_hidden_files | show_help | show_preview | support_multi_dotted_extensions
}
 Specifies options on a xtd::forms::save_file_box. More...
 
enum  xtd::forms::screen_orientation {
  xtd::forms::screen_orientation::angle_0 = 0,
  xtd::forms::screen_orientation::angle_90 = 1,
  xtd::forms::screen_orientation::angle_180 = 2,
  xtd::forms::screen_orientation::angle_270 = 3
}
 Specifies the angle of the screen. More...
 
enum  xtd::forms::search_direction {
  xtd::forms::search_direction::down = 0,
  xtd::forms::search_direction::up = 1
}
 Specifies the search direction for xtd::forms::find_dialog dialog. More...
 
enum  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  xtd::forms::segments {
  xtd::forms::segments::none = 0,
  xtd::forms::segments::a = 0b1,
  xtd::forms::segments::b = 0b10,
  xtd::forms::segments::c = 0b100,
  xtd::forms::segments::d = 0b1000,
  xtd::forms::segments::e = 0b10000,
  xtd::forms::segments::f = 0b100000,
  xtd::forms::segments::g = 0b1000000,
  xtd::forms::segments::h = 0b10000000,
  xtd::forms::segments::i = 0b100000000,
  xtd::forms::segments::j = 0b1000000000,
  xtd::forms::segments::k = 0b10000000000,
  xtd::forms::segments::l = 0b100000000000,
  xtd::forms::segments::m = 0b1000000000000,
  xtd::forms::segments::a1 = a,
  xtd::forms::segments::a2 = 0b10000000000000,
  xtd::forms::segments::d1 = d,
  xtd::forms::segments::d2 = 0b100000000000000,
  xtd::forms::segments::g1 = g,
  xtd::forms::segments::g2 = 0b1000000000000000,
  xtd::forms::segments::dp = 0b10000000000000000,
  xtd::forms::segments::pc = 0b100000000000000000
}
 Specifies how a control anchors to the edges of its container. More...
 
enum  xtd::forms::selection_mode {
  xtd::forms::selection_mode::none = 0,
  xtd::forms::selection_mode::one = 1,
  xtd::forms::selection_mode::multi_simple = 2,
  xtd::forms::selection_mode::multi_extended = 3
}
 Specifies the selection behavior of a list box. More...
 
enum  xtd::forms::shortcut {
  xtd::forms::shortcut::alt_0 = 0x00040030,
  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 = 0x00040008,
  xtd::forms::shortcut::alt_down_arrow = 0x00040028,
  xtd::forms::shortcut::alt_f1 = 0x00040070,
  xtd::forms::shortcut::alt_f10 = 0x00040079,
  xtd::forms::shortcut::alt_f11,
  xtd::forms::shortcut::alt_f12,
  xtd::forms::shortcut::alt_f2 = 0x00040071,
  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 = 0x00040025,
  xtd::forms::shortcut::alt_right_arrow = 0x00040027,
  xtd::forms::shortcut::alt_up_arrow = 0x00040026,
  xtd::forms::shortcut::cmd_0 = 0x00080030,
  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 = 0x00080041,
  xtd::forms::shortcut::cmd_b,
  xtd::forms::shortcut::cmd_c,
  xtd::forms::shortcut::cmd_d,
  xtd::forms::shortcut::cmd_del = 0x0008002E,
  xtd::forms::shortcut::cmd_e = 0x00080045,
  xtd::forms::shortcut::cmd_f,
  xtd::forms::shortcut::cmd_f1 = 0x00080070,
  xtd::forms::shortcut::cmd_f10 = 0x00080079,
  xtd::forms::shortcut::cmd_f11,
  xtd::forms::shortcut::cmd_f12,
  xtd::forms::shortcut::cmd_f2 = 0x00080071,
  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 = 0x00080047,
  xtd::forms::shortcut::cmd_h,
  xtd::forms::shortcut::cmd_i,
  xtd::forms::shortcut::cmd_ins = 0x0008002D,
  xtd::forms::shortcut::cmd_j = 0x0008004A,
  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 = 0x00090030,
  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 = 0x00090041,
  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 = 0x00090070,
  xtd::forms::shortcut::cmd_shift_f10 = 0x00090079,
  xtd::forms::shortcut::cmd_shift_f11,
  xtd::forms::shortcut::cmd_shift_f12,
  xtd::forms::shortcut::cmd_shift_f2 = 0x00090071,
  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 = 0x00090047,
  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 = 0x00080054,
  xtd::forms::shortcut::cmd_u,
  xtd::forms::shortcut::cmd_v,
  xtd::forms::shortcut::cmd_w,
  xtd::forms::shortcut::cmd_x,
  xtd::forms::shortcut::cmd_y,
  xtd::forms::shortcut::cmd_z,
  xtd::forms::shortcut::del = 0x0000002E,
  xtd::forms::shortcut::f1 = 0x00000070,
  xtd::forms::shortcut::f10 = 0x00000079,
  xtd::forms::shortcut::f11,
  xtd::forms::shortcut::f12,
  xtd::forms::shortcut::f2 = 0x00000071,
  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 = 0x0000002D,
  xtd::forms::shortcut::none = 0,
  xtd::forms::shortcut::shift_del = 0x0001002E,
  xtd::forms::shortcut::shift_f1 = 0x00010070,
  xtd::forms::shortcut::shift_f10 = 0x00010079,
  xtd::forms::shortcut::shift_f11,
  xtd::forms::shortcut::shift_f12,
  xtd::forms::shortcut::shift_f2 = 0x00010071,
  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 = 0x0001002D
}
 Specifies shortcut keys that can be used by menu items. More...
 
enum  xtd::forms::size_type {
  xtd::forms::size_type::auto_size = 0,
  xtd::forms::size_type::absolute = 1,
  xtd::forms::size_type::percent = 2
}
 Specifies how rows or columns of user interface (UI) elements should be sized relative to their container. More...
 
enum  xtd::forms::splitter_style {
  xtd::forms::splitter_style::draw_line = 0,
  xtd::forms::splitter_style::update_children = 1
}
 Represent splitter style used by splitter control. More...
 
enum  xtd::forms::status_bar_panel_auto_size {
  xtd::forms::status_bar_panel_auto_size::none = 1,
  xtd::forms::status_bar_panel_auto_size::spring = 2,
  xtd::forms::status_bar_panel_auto_size::contents = 3
}
 Specifies how a xtd::forms::status_bar_panel on a xtd::forms::status_bar content behaves when the content resizes. More...
 
enum  xtd::forms::status_bar_panel_border_style {
  xtd::forms::status_bar_panel_border_style::none = 1,
  xtd::forms::status_bar_panel_border_style::outset = 2,
  xtd::forms::status_bar_panel_border_style::inset = 3,
  xtd::forms::status_bar_panel_border_style::raised = outset,
  xtd::forms::status_bar_panel_border_style::sunken = inset
}
 Specifies the appearance of the border for a xtd::forms::status_bar_panel on a xtd::forms::status_bar control. More...
 
enum  xtd::forms::status_bar_panel_style {
  xtd::forms::status_bar_panel_style::text = 1,
  xtd::forms::status_bar_panel_style::owner_draw = 2,
  xtd::forms::status_bar_panel_style::control = 3
}
 Specifies whether a xtd::forms::status_bar_panel object on a xtd::forms::status_bar control is owner-drawn or system-drawn. More...
 
enum  xtd::forms::tab_alignment {
  xtd::forms::tab_alignment::top = 0,
  xtd::forms::tab_alignment::bottom = 1,
  xtd::forms::tab_alignment::left = 2,
  xtd::forms::tab_alignment::right = 3
}
 Specifies the locations of the tabs in a tab control. More...
 
enum  xtd::forms::text_format_flags {
  xtd::forms::text_format_flags::default_format = 0b0,
  xtd::forms::text_format_flags::glyph_overhang_padding = 0b0,
  xtd::forms::text_format_flags::left = 0b0,
  xtd::forms::text_format_flags::top = 0b0,
  xtd::forms::text_format_flags::horizontal_center = 0b1,
  xtd::forms::text_format_flags::right = 0b10,
  xtd::forms::text_format_flags::vertical_center = 0b100,
  xtd::forms::text_format_flags::bottom = 0b1000,
  xtd::forms::text_format_flags::word_break = 0b10000,
  xtd::forms::text_format_flags::single_line = 0b100000,
  xtd::forms::text_format_flags::expand_tabs = 0b1000000,
  xtd::forms::text_format_flags::no_clipping = 0b100000000,
  xtd::forms::text_format_flags::external_leading = 0b1000000000,
  xtd::forms::text_format_flags::no_prefix = 0b10000000000,
  xtd::forms::text_format_flags::internal = 0b1000000000000,
  xtd::forms::text_format_flags::text_box_control = 0b10000000000000,
  xtd::forms::text_format_flags::path_ellipsis = 0b100000000000000,
  xtd::forms::text_format_flags::end_ellipse = 0b1000000000000000,
  xtd::forms::text_format_flags::modify_string = 0b10000000000000000,
  xtd::forms::text_format_flags::right_to_left = 0b100000000000000000,
  xtd::forms::text_format_flags::word_ellipsis = 0b1000000000000000000,
  xtd::forms::text_format_flags::no_full_width_characterB_break = 0b10000000000000000000,
  xtd::forms::text_format_flags::hide_prefix = 0b100000000000000000000,
  xtd::forms::text_format_flags::prefix_only = 0b1000000000000000000000,
  xtd::forms::text_format_flags::preserve_graphics_clipping = 0b1000000000000000000000000,
  xtd::forms::text_format_flags::preserve_graphics_translate_transform = 0b10000000000000000000000000,
  xtd::forms::text_format_flags::no_padding = 0b10000000000000000000000000000,
  xtd::forms::text_format_flags::left_and_right_padding = 0b100000000000000000000000000000
}
 Specifies the display and layout information for text strings. More...
 
enum  xtd::forms::tick_style {
  xtd::forms::tick_style::none = 0,
  xtd::forms::tick_style::top_left = 1,
  xtd::forms::tick_style::bottom_right = 2,
  xtd::forms::tick_style::both = 3
}
 Specifies the location of tick marks in a track_bar control. More...
 
enum  xtd::forms::visual_styles::toggle_button_state {
  xtd::forms::visual_styles::toggle_button_state::unchecked_normal = 1,
  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...
 
enum  xtd::forms::tool_bar_appearance {
  xtd::forms::tool_bar_appearance::normal = 0,
  xtd::forms::tool_bar_appearance::flat = 1,
  xtd::forms::tool_bar_appearance::system = 2
}
 Specifies the type of toolbar to display. More...
 
enum  xtd::forms::tool_bar_button_style {
  xtd::forms::tool_bar_button_style::push_button = 1,
  xtd::forms::tool_bar_button_style::toggle_button = 2,
  xtd::forms::tool_bar_button_style::separator = 3,
  xtd::forms::tool_bar_button_style::drop_down_button = 4,
  xtd::forms::tool_bar_button_style::stretchable_separator = 5,
  xtd::forms::tool_bar_button_style::control = 6
}
 Specifies the button style within a toolbar. More...
 
enum  xtd::forms::tool_bar_text_align {
  xtd::forms::tool_bar_text_align::underneath = 0,
  xtd::forms::tool_bar_text_align::right = 1
}
 Specifies the type of toolbar to display. 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

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

◆ horizontal_control_layout_style_collection

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

A collection that stores horizontal_control_layout_style objects.

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

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

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

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

◆ 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

◆ 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

◆ 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

◆ 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

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

◆ 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

Enumeration Type Documentation

◆ anchor_styles

#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

#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

#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

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

Examples:
background_worker.cpp, calculator.cpp, hello_world_emoticons.cpp, lcd_label3.cpp, and minesweeper.cpp.

◆ 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 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

#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

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

Examples:
tutorial_communicate.cpp.

◆ bounds_specified

#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

#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

#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_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.

◆ check_state

#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

#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

#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

#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

#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

#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_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.

◆ control_styles

#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.
my_control.set_style(control_styles::user_paint | control_styles::all_painting_in_wm_paint | double_buffer, true);
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 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

#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();
}
}
}
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

#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

#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

#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

#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

#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

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

Examples:
border_style.cpp, calculator.cpp, circular_form.cpp, form_decoration.cpp, lcd_label3.cpp, stopwatch_form.cpp, user_dialog.cpp, and user_dialog_show_sheet.cpp.

◆ 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

#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

#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

#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 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
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);
}
}
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.

alt 

The ALT modifier key.

command 

The CMD modifier key.

meta 

The METTA modifier key.

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

#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 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

#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
dots 

The control appears with dots style.

standard 

The control appears with standard style.

system 

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

◆ menu_item_kind

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

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.

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.

exclamation 

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

warning 

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.

information 

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

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

Examples:
lcd_label2.cpp.

◆ 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

#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

#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

#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

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

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

◆ 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

#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::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

#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

#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 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

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

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_y 

The shortcut keys CMD+Y.

cmd_z 

The shortcut keys CMD+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.

◆ size_type

enum 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

#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

#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

#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

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

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

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