Provides information about the current system environment.
Public Static Properties | |
static int32 | active_window_tracking_delay () |
Gets the active window tracking delay. | |
static xtd::forms::arrange_direction | arrange_direction () |
Gets a value that indicates the direction in which the operating system arranges minimized windows. | |
static xtd::forms::arrange_starting_position | arrange_starting_position () |
Gets an ArrangeStartingPosition value that indicates the starting position from which the operating system arranges minimized windows. | |
static xtd::forms::boot_mode | boot_mode () |
Gets a BootMode value that indicates the boot mode the system was started in. | |
static xtd::drawing::size | border_3d_size () |
Gets the thickness, in pixels, of a three-dimensional (3-D) style window or system control border. | |
static int32 | border_multiplier_factor () |
Gets the border multiplier factor that is used when determining the thickness of a window's sizing border. | |
static xtd::drawing::size | border_size () |
Gets the thickness, in pixels, of a flat-style window or system control border. | |
static xtd::drawing::size | caption_button_size () |
Gets the standard size, in pixels, of a button in a window's title bar. | |
static int32 | caption_height () |
Gets the height, in pixels, of the standard title bar area of a window. | |
static int32 | caret_blink_time () |
Gets the caret blink time. | |
static int32 | caret_width () |
Gets the width, in pixels, of the caret in edit controls. | |
static xtd::string | computer_name () |
Gets the NetBIOS computer name of the local computer. | |
static xtd::drawing::size | cursor_size () |
Gets the maximum size, in pixels, that a cursor can occupy. | |
static bool | dbcs_enabled () |
Gets a value indicating whether the operating system is capable of handling double-byte character set (DBCS) characters. | |
static bool | debug_os () |
Gets a value indicating whether the debug version of USER.EXE is installed. | |
static xtd::drawing::size | double_click_size () |
Gets the dimensions, in pixels, of the area within which the user must click twice for the operating system to consider the two clicks a double-click. | |
static int32 | double_click_time () |
Gets the maximum number of milliseconds that can elapse between a first click and a second click for the OS to consider the mouse action a double-click. | |
static bool | drag_full_windows () |
Gets a value indicating whether the user has enabled full window drag. | |
static xtd::drawing::size | drag_size () |
Gets the width and height of a rectangle centered on the point the mouse button was pressed, within which a drag operation will not begin. | |
static xtd::drawing::size | fixed_frame_border_size () |
Gets the thickness, in pixels, of the frame border of a window that has a caption and is not resizable. | |
static int32 | font_smoothing_contrast () |
Gets the font smoothing contrast value used in ClearType smoothing. | |
static int32 | font_smoothing_type () |
Gets the current type of font smoothing. | |
static xtd::drawing::size | frame_border_size () |
Gets the thickness, in pixels, of the resizing border that is drawn around the perimeter of a window that is being drag resized. | |
static bool | high_contrast () |
Gets a value indicating whether the user has enabled the high-contrast mode accessibility feature. | |
static int32 | horizontal_focus_thickness () |
Gets the thickness of the left and right edges of the system focus rectangle, in pixels. | |
static int32 | horizontal_resize_border_thickness () |
Gets the thickness of the left and right edges of the sizing border around the perimeter of a window being resized, in pixels. | |
static int32 | horizontal_scroll_bar_arrow_width () |
Gets the width, in pixels, of the arrow bitmap on the horizontal scroll bar. | |
static int32 | horizontal_scroll_bar_height () |
Gets the default height, in pixels, of the horizontal scroll bar. | |
static int32 | horizontal_scroll_bar_thumb_width () |
Gets the width, in pixels, of the scroll box in a horizontal scroll bar. | |
static int32 | icon_horizontal_spacing () |
Gets the width, in pixels, of an icon arrangement cell in large icon view. | |
static xtd::drawing::size | icon_size () |
Gets the dimensions, in pixels, of the Windows default program icon size. | |
static xtd::drawing::size | icon_spacing_size () |
Gets the size, in pixels, of the grid square used to arrange icons in a large-icon view. | |
static int32 | icon_vertical_spacing () |
Gets the height, in pixels, of an icon arrangement cell in large icon view. | |
static bool | is_active_window_tracking_enabled () |
Gets a value indicating whether active window tracking is enabled. | |
static bool | is_combo_box_animation_enabled () |
Gets a value indicating whether the slide-open effect for combo boxes is enabled. | |
static bool | is_drop_shadow_enabled () |
Gets a value indicating whether the drop shadow effect is enabled. | |
static bool | is_flat_menu_enabled () |
Gets a value indicating whether native user menus have a flat menu appearance. | |
static bool | is_font_smoothing_enabled () |
Gets a value indicating whether font smoothing is enabled. | |
static bool | is_hot_tracking_enabled () |
Gets a value indicating whether hot tracking of user-interface elements, such as menu names on menu bars, is enabled. | |
static bool | is_icon_title_wrapping_enabled () |
Gets a value indicating whether icon-title wrapping is enabled. | |
static bool | is_keyboard_preferred () |
Gets a value indicating whether the user relies on the keyboard instead of the mouse, and prefers applications to display keyboard interfaces that would otherwise be hidden. | |
static bool | is_list_box_smooth_scrolling_enabled () |
Gets a value indicating whether the smooth-scrolling effect for list boxes is enabled. | |
static bool | is_menu_animation_enabled () |
Gets a value indicating whether menu fade or slide animation features are enabled. | |
static bool | is_menu_fade_enabled () |
Gets a value indicating whether menu fade animation is enabled. | |
static bool | is_minimize_restore_animation_enabled () |
Gets a value indicating whether window minimize and restore animation is enabled. | |
static bool | is_operating_system_double_buffered () |
Gets the operating system is natively double buffered. | |
static bool | is_selection_fade_enabled () |
Gets a value indicating whether the selection fade effect is enabled. | |
static bool | is_snap_to_default_enabled () |
Gets a value indicating whether the snap-to-default-button feature is enabled. | |
static bool | is_title_bar_gradient_enabled () |
Gets a value indicating whether the gradient effect for window title bars is enabled. | |
static bool | is_tool_tip_animation_enabled () |
Gets a value indicating whether tool_tip animation is enabled. | |
static int32 | kanji_window_height () |
Gets the height, in pixels, of the Kanji window at the bottom of the screen for double-byte character set (DBCS) versions of Windows. | |
static int32 | keyboard_delay () |
Gets the keyboard repeat-delay setting. | |
static int32 | keyboard_speed () |
Gets the keyboard repeat-speed setting. | |
static xtd::drawing::size | max_window_track_size () |
Gets the default maximum dimensions, in pixels, of a window that has a caption and sizing borders. | |
static bool | menu_access_keys_underlined () |
Gets a value indicating whether menu access keys are always underlined. | |
static xtd::drawing::size | menu_bar_button_size () |
Gets the default width, in pixels, for menu-bar buttons and the height, in pixels, of a menu bar. | |
static xtd::drawing::size | menu_button_size () |
Gets the default dimensions, in pixels, of menu-bar buttons. | |
static xtd::drawing::size | menu_check_size () |
Gets the dimensions, in pixels, of the default size of a menu check mark area. | |
static xtd::drawing::font | menu_font () |
Gets the font used to display text on menus. | |
static int32 | menu_height () |
Gets the height, in pixels, of one line of a menu. | |
static int32 | menu_show_delay () |
Gets the time, in milliseconds, that the system waits before displaying a cascaded shortcut menu when the mouse cursor is over a submenu item. | |
static bool | mid_east_enabled () |
Gets a value indicating whether the operating system is enabled for the Hebrew and Arabic languages. | |
static xtd::drawing::size | minimized_window_size () |
Gets the dimensions, in pixels, of a normal minimized window. | |
static xtd::drawing::size | minimized_window_spacing_size () |
Gets the dimensions, in pixels, of the area each minimized window is allocated when arranged. | |
static xtd::drawing::size | minimum_window_size () |
Gets the minimum width and height for a window, in pixels. | |
static xtd::drawing::size | min_window_track_size () |
Gets the default minimum dimensions, in pixels, that a window may occupy during a drag resize. | |
static int32 | monitor_count () |
Gets the number of display monitors on the desktop. | |
static bool | monitors_same_display_format () |
Gets a value indicating whether all the display monitors are using the same pixel color format. | |
static int32 | mouse_buttons () |
Gets the number of buttons on the mouse. | |
static bool | mouse_buttons_swapped () |
Gets a value indicating whether the functions of the left and right mouse buttons have been swapped. | |
static xtd::drawing::size | mouse_hover_size () |
Gets the dimensions, in pixels, of the rectangle within which the mouse pointer has to stay for the mouse hover time before a mouse hover message is generated. | |
static int32 | mouse_hover_time () |
Gets the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle before a mouse hover message is generated. | |
static bool | mouse_present () |
Gets a value indicating whether the functions of the left and right mouse buttons have been swapped. | |
static int32 | mouse_speed () |
Gets the current mouse speed. | |
static bool | Mouse_wheel_present () |
Gets a value indicating whether a mouse with a mouse wheel is installed. | |
static int32 | mouse_wheel_scroll_delta () |
Gets the amount of the delta value of a single mouse wheel rotation increment. | |
static int32 | mouse_wheel_scroll_lines () |
Gets the number of lines to scroll when the mouse wheel is rotated. | |
static bool | native_mouse_wheel_support () |
Gets a value indicating whether a mouse with a mouse wheel is installed. | |
static bool | network () |
Gets a value indicating whether a network connection is present. | |
static bool | pen_windows () |
Gets a value indicating whether the Microsoft Windows for Pen Computing extensions are installed. | |
static left_right_alignment | popup_menu_alignment () |
Gets the side of pop-up menus that are aligned to the corresponding menu-bar item. | |
static xtd::forms::power_status | power_status () |
Gets the current system power status. | |
static xtd::drawing::size | primary_monitor_maximized_window_size () |
Gets the default dimensions, in pixels, of a maximized window on the primary display. | |
static xtd::drawing::size | primary_monitor_size () |
Gets the dimensions, in pixels, of the current video mode of the primary display. | |
static bool | right_aligned_menus () |
Gets a value indicating whether drop-down menus are right-aligned with the corresponding menu-bar item. | |
static xtd::forms::screen_orientation | screen_orientation () |
Gets the orientation of the screen. | |
static bool | secure () |
Gets a value indicating whether a Security Manager is present on this operating system. | |
static bool | show_sounds () |
Gets a value indicating whether the user prefers that an application present information in visual form in situations when it would present the information in audible form. | |
static int32 | sizing_border_width () |
Gets the width, in pixels, of the sizing border drawn around the perimeter of a window being resized. | |
static xtd::drawing::size | small_caption_button_size () |
Gets the width, in pixels, of small caption buttons, and the height, in pixels, of small captions. | |
static xtd::drawing::size | small_icon_size () |
Gets the dimensions, in pixels, of a small icon. | |
static bool | terminal_server_session () |
Gets a value indicating whether the calling process is associated with a Terminal Services client session. | |
static xtd::drawing::size | tool_window_caption_button_size () |
Gets the dimensions, in pixels, of small caption buttons. | |
static int32 | tool_window_caption_height () |
Gets the height, in pixels, of a tool window caption. | |
static bool | ui_effect_enabled () |
Gets a value indicating whether user interface (UI) effects are enabled or disabled. | |
static xtd::string | user_domain_name () |
Gets the name of the domain the user belongs to. | |
static bool | user_interactive () |
Gets a value indicating whether the current process is running in user-interactive mode. | |
static xtd::string | user_name () |
Gets the user name associated with the current thread. | |
static int32 | vertical_focus_thickness () |
Gets the thickness, in pixels, of the top and bottom edges of the system focus rectangle. | |
static int32 | vertical_scroll_bar_arrow_height () |
Gets the height, in pixels, of the arrow bitmap on the vertical scroll bar. | |
static int32 | vertical_scroll_bar_thumb_height () |
Gets the height, in pixels, of the scroll box in a vertical scroll bar. | |
static int32 | vertical_scroll_bar_width () |
Gets the default width, in pixels, of the vertical scroll bar. | |
static xtd::drawing::rectangle | virtual_screen () |
Gets the bounds of the virtual screen. | |
static xtd::drawing::rectangle | working_area () |
Gets the size, in pixels, of the working area of the screen. | |
|
static |
Gets the active window tracking delay.
|
static |
Gets a value that indicates the direction in which the operating system arranges minimized windows.
|
static |
Gets an ArrangeStartingPosition value that indicates the starting position from which the operating system arranges minimized windows.
|
static |
Gets a BootMode value that indicates the boot mode the system was started in.
|
static |
Gets the thickness, in pixels, of a three-dimensional (3-D) style window or system control border.
|
static |
Gets the border multiplier factor that is used when determining the thickness of a window's sizing border.
|
static |
Gets the thickness, in pixels, of a flat-style window or system control border.
|
static |
Gets the standard size, in pixels, of a button in a window's title bar.
|
static |
Gets the height, in pixels, of the standard title bar area of a window.
|
static |
Gets the caret blink time.
|
static |
Gets the width, in pixels, of the caret in edit controls.
|
static |
Gets the NetBIOS computer name of the local computer.
|
static |
Gets the maximum size, in pixels, that a cursor can occupy.
|
static |
Gets a value indicating whether the operating system is capable of handling double-byte character set (DBCS) characters.
true
if the operating system supports DBCS; otherwise, false
.
|
static |
Gets a value indicating whether the debug version of USER.EXE is installed.
true
if the debugging version of USER.EXE is installed; otherwise, false
.
|
static |
Gets the dimensions, in pixels, of the area within which the user must click twice for the operating system to consider the two clicks a double-click.
|
static |
Gets the maximum number of milliseconds that can elapse between a first click and a second click for the OS to consider the mouse action a double-click.
|
static |
Gets a value indicating whether the user has enabled full window drag.
true
if the user has enabled full window drag; otherwise, false
. true
, the content of a window is refreshed during a window move or resize drag, using the current position and size as they are updated.
|
static |
Gets the width and height of a rectangle centered on the point the mouse button was pressed, within which a drag operation will not begin.
|
static |
Gets the thickness, in pixels, of the frame border of a window that has a caption and is not resizable.
|
static |
Gets the font smoothing contrast value used in ClearType smoothing.
|
static |
Gets the current type of font smoothing.
|
static |
Gets the thickness, in pixels, of the resizing border that is drawn around the perimeter of a window that is being drag resized.
|
static |
Gets a value indicating whether the user has enabled the high-contrast mode accessibility feature.
true
if the user has enabled high-contrast mode; otherwise, false
.
|
static |
Gets the thickness of the left and right edges of the system focus rectangle, in pixels.
|
static |
Gets the thickness of the left and right edges of the sizing border around the perimeter of a window being resized, in pixels.
|
static |
Gets the width, in pixels, of the arrow bitmap on the horizontal scroll bar.
|
static |
Gets the default height, in pixels, of the horizontal scroll bar.
|
static |
Gets the width, in pixels, of the scroll box in a horizontal scroll bar.
|
static |
Gets the width, in pixels, of an icon arrangement cell in large icon view.
|
static |
Gets the dimensions, in pixels, of the Windows default program icon size.
|
static |
Gets the size, in pixels, of the grid square used to arrange icons in a large-icon view.
|
static |
Gets the height, in pixels, of an icon arrangement cell in large icon view.
|
static |
Gets a value indicating whether active window tracking is enabled.
true
if active window tracking is enabled; otherwise, false
.
|
static |
Gets a value indicating whether the slide-open effect for combo boxes is enabled.
true
if the slide-open effect for combo boxes is enabled; otherwise, false
.
|
static |
Gets a value indicating whether the drop shadow effect is enabled.
true
if the drop shadow effect is enabled; otherwise, false
.
|
static |
Gets a value indicating whether native user menus have a flat menu appearance.
true
if native user menus have a flat menu appearance; otherwise, false
.
|
static |
Gets a value indicating whether font smoothing is enabled.
true
if the font smoothing feature is enabled; otherwise, false
.
|
static |
Gets a value indicating whether hot tracking of user-interface elements, such as menu names on menu bars, is enabled.
true
if hot tracking of user-interface elements is enabled; otherwise, false
.
|
static |
Gets a value indicating whether icon-title wrapping is enabled.
true
if the icon-title wrapping feature is enabled; otherwise, false
.
|
static |
Gets a value indicating whether the user relies on the keyboard instead of the mouse, and prefers applications to display keyboard interfaces that would otherwise be hidden.
true
if keyboard preferred mode is enabled; otherwise, false
.
|
static |
Gets a value indicating whether the smooth-scrolling effect for list boxes is enabled.
true
if smooth-scrolling is enabled; otherwise, false
.
|
static |
Gets a value indicating whether menu fade or slide animation features are enabled.
true
if menu fade or slide animation is enabled; otherwise, false
. true
, the xtd::forms::system_information::is_menu_fade_enabled property indicates whether menus use fade or slide animation.
|
static |
Gets a value indicating whether menu fade animation is enabled.
true
if fade animation is enabled; false
if it is disabled. true
, menus use fade animation. If menu animation is enabled and the value of this property is false
, menus use slide animation. If menu animation is disabled, the value of this property is meaningless.
|
static |
Gets a value indicating whether window minimize and restore animation is enabled.
true
if window minimize and restore animation is enabled; otherwise, false
.
|
static |
Gets the operating system is natively double buffered.
true
is operating system is natively double buffered; otherwise false
.
|
static |
Gets a value indicating whether the selection fade effect is enabled.
true
if the selection fade effect is enabled; otherwise, false
.
|
static |
Gets a value indicating whether the snap-to-default-button feature is enabled.
true
if the snap-to-default-button feature is enabled; otherwise, false
.
|
static |
Gets a value indicating whether the gradient effect for window title bars is enabled.
true
if the gradient effect for window title bars is enabled; otherwise, false
.
|
static |
Gets a value indicating whether tool_tip animation is enabled.
true
if tool_tip animation is enabled; otherwise, false
. false
.
|
static |
Gets the height, in pixels, of the Kanji window at the bottom of the screen for double-byte character set (DBCS) versions of Windows.
|
static |
Gets the keyboard repeat-delay setting.
|
static |
Gets the keyboard repeat-speed setting.
|
static |
Gets the default maximum dimensions, in pixels, of a window that has a caption and sizing borders.
|
static |
Gets a value indicating whether menu access keys are always underlined.
true
if menu access keys are always underlined; false
if they are underlined only when the menu is activated or receives focus.
|
static |
Gets the default width, in pixels, for menu-bar buttons and the height, in pixels, of a menu bar.
|
static |
Gets the default dimensions, in pixels, of menu-bar buttons.
|
static |
Gets the dimensions, in pixels, of the default size of a menu check mark area.
|
static |
Gets the font used to display text on menus.
|
static |
Gets the height, in pixels, of one line of a menu.
|
static |
Gets the time, in milliseconds, that the system waits before displaying a cascaded shortcut menu when the mouse cursor is over a submenu item.
|
static |
Gets a value indicating whether the operating system is enabled for the Hebrew and Arabic languages.
true
if the operating system is enabled for Hebrew or Arabic; otherwise, false
.
|
static |
Gets the dimensions, in pixels, of a normal minimized window.
|
static |
Gets the dimensions, in pixels, of the area each minimized window is allocated when arranged.
|
static |
Gets the minimum width and height for a window, in pixels.
|
static |
Gets the default minimum dimensions, in pixels, that a window may occupy during a drag resize.
|
static |
Gets the number of display monitors on the desktop.
|
static |
Gets a value indicating whether all the display monitors are using the same pixel color format.
true
if all monitors are using the same pixel color format; otherwise, false
.
|
static |
Gets the number of buttons on the mouse.
|
static |
Gets a value indicating whether the functions of the left and right mouse buttons have been swapped.
true
if the functions of the left and right mouse buttons are swapped; otherwise, false
.
|
static |
Gets the dimensions, in pixels, of the rectangle within which the mouse pointer has to stay for the mouse hover time before a mouse hover message is generated.
|
static |
Gets the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle before a mouse hover message is generated.
|
static |
Gets a value indicating whether the functions of the left and right mouse buttons have been swapped.
true
if a mouse is installed; otherwise, false
. true
.
|
static |
Gets the current mouse speed.
|
static |
Gets a value indicating whether a mouse with a mouse wheel is installed.
true
if a mouse with a mouse wheel is installed; otherwise, false
.
|
static |
Gets the amount of the delta value of a single mouse wheel rotation increment.
|
static |
Gets the number of lines to scroll when the mouse wheel is rotated.
|
static |
Gets a value indicating whether a mouse with a mouse wheel is installed.
true
if a mouse with a mouse wheel is installed; otherwise, false
.
|
static |
Gets a value indicating whether a network connection is present.
true
if a network connection is present; otherwise, false
. true
on all platforms.
|
static |
Gets a value indicating whether the Microsoft Windows for Pen Computing extensions are installed.
true
if the Windows for Pen Computing extensions are installed; false
if Windows for Pen Computing extensions are not installed.
|
static |
Gets the side of pop-up menus that are aligned to the corresponding menu-bar item.
|
static |
Gets the current system power status.
|
static |
Gets the default dimensions, in pixels, of a maximized window on the primary display.
|
static |
Gets the dimensions, in pixels, of the current video mode of the primary display.
|
static |
Gets a value indicating whether drop-down menus are right-aligned with the corresponding menu-bar item.
true
if drop-down menus are right-aligned with the corresponding menu-bar item; false
if the menus are left-aligned.
|
static |
Gets the orientation of the screen.
|
static |
Gets a value indicating whether a Security Manager is present on this operating system.
true
if a Security Manager is present; otherwise, false
.
|
static |
Gets a value indicating whether the user prefers that an application present information in visual form in situations when it would present the information in audible form.
true
if the application should visually show information about audible output; false
if the application does not need to provide extra visual cues for audio events.
|
static |
Gets the width, in pixels, of the sizing border drawn around the perimeter of a window being resized.
|
static |
Gets the width, in pixels, of small caption buttons, and the height, in pixels, of small captions.
|
static |
Gets the dimensions, in pixels, of a small icon.
|
static |
Gets a value indicating whether the calling process is associated with a Terminal Services client session.
true
if the calling process is associated with a Terminal Services client session; otherwise, false
.
|
static |
Gets the dimensions, in pixels, of small caption buttons.
|
static |
Gets the height, in pixels, of a tool window caption.
|
static |
Gets a value indicating whether user interface (UI) effects are enabled or disabled.
true
if UI effects are enabled; otherwise, false
. true
: Name | Description |
---|---|
xtd::forms::system_information::is_combo_box_animation_enabled | Indicates whether the slide-open effect for combo boxes is enabled. |
xtd::forms::system_information::is_title_bar_gradient_enabled | Indicates whether the gradient effect for window title bars is enabled. |
xtd::forms::system_information::is_hot_tracking_enabled | Indicates whether hot tracking of user-interface elements, such as menu names on menu bars, is enabled. |
xtd::forms::system_information::is_list_box_smooth_scrolling_enabled | Indicates whether the smooth-scrolling effect for list boxes is enabled. |
xtd::forms::system_information::is_menu_animation_enabled | Indicates whether menu fade or slide animation features are enabled. |
xtd::forms::system_information::menu_access_keys_underlined | Indicates whether menu access keys are always underlined. |
xtd::forms::system_information::is_selection_fade_enabled | Indicates whether the selection fade effect is enabled. |
xtd::forms::system_information::is_tool_tip_animation_enabled | Indicates whether ToolTip animation is enabled. |
|
static |
Gets the name of the domain the user belongs to.
|
static |
Gets a value indicating whether the current process is running in user-interactive mode.
true
if the current process is running in user-interactive mode; otherwise, false
. false
, do not display any modal dialogs or message boxes, as there is no graphical user interface for the user to interact with. false
only when called from a service process or from a Web application.
|
static |
Gets the user name associated with the current thread.
|
static |
Gets the thickness, in pixels, of the top and bottom edges of the system focus rectangle.
|
static |
Gets the height, in pixels, of the arrow bitmap on the vertical scroll bar.
|
static |
Gets the height, in pixels, of the scroll box in a vertical scroll bar.
|
static |
Gets the default width, in pixels, of the vertical scroll bar.
|
static |
Gets the bounds of the virtual screen.
|
static |
Gets the size, in pixels, of the working area of the screen.