แก้ไข

แชร์ผ่าน


SystemParameters Class

Definition

Contains properties that you can use to query system settings.

public ref class SystemParameters abstract sealed
public static class SystemParameters
type SystemParameters = class
Public Class SystemParameters
Inheritance
SystemParameters

Properties

Border

Gets the border multiplier factor that determines the width of a window's sizing border.

BorderKey

Gets the ResourceKey for the Border property.

BorderWidth

Gets the metric that determines the border width of the nonclient area of a nonminimized window.

BorderWidthKey

Gets the ResourceKey for the BorderWidth property.

CaptionHeight

Gets the metric that determines the caption height for the nonclient area of a nonminimized window.

CaptionHeightKey

Gets the ResourceKey for the CaptionHeight property.

CaptionWidth

Gets the metric that determines the caption width for the nonclient area of a nonminimized window.

CaptionWidthKey

Gets the ResourceKey for the CaptionWidth property.

CaretWidth

Gets the caret width, in pixels, for edit controls.

CaretWidthKey

Gets the ResourceKey for the CaretWidth property.

ClientAreaAnimation

Gets a value indicating whether the client area animation feature is enabled.

ClientAreaAnimationKey

Gets a ResourceKey for the ClientAreaAnimation property.

ComboBoxAnimation

Gets a value indicating whether the slide-open effect for combo boxes is enabled.

ComboBoxAnimationKey

Gets the ResourceKey for the ComboBoxAnimation property.

ComboBoxPopupAnimation

Gets the system value of the PopupAnimation property for combo boxes.

ComboBoxPopupAnimationKey

Gets the ResourceKey for the ComboBoxPopupAnimation property.

CursorHeight

Gets the height, in pixels, of a cursor.

CursorHeightKey

Gets the ResourceKey for the CursorHeight property.

CursorShadow

Gets a value indicating whether the cursor has a shadow around it.

CursorShadowKey

Gets the ResourceKey for the CursorShadow property.

CursorWidth

Gets the width, in pixels, of a cursor.

CursorWidthKey

Gets the ResourceKey for the CursorWidth property.

DragFullWindows

Gets a value indicating whether dragging of full windows is enabled.

DragFullWindowsKey

Gets the ResourceKey for the DragFullWindows property.

DropShadow

Gets a value indicating whether the drop shadow effect is enabled.

DropShadowKey

Gets the ResourceKey for the DropShadow property.

FixedFrameHorizontalBorderHeight

Gets the height of the horizontal border of the frame around a window.

FixedFrameHorizontalBorderHeightKey

Gets the ResourceKey for the FixedFrameHorizontalBorderHeight property.

FixedFrameVerticalBorderWidth

Gets the width of the vertical border of the frame around a window.

FixedFrameVerticalBorderWidthKey

Gets the ResourceKey for the FixedFrameVerticalBorderWidth property.

FlatMenu

Gets a value indicating whether native menus appear as a flat menu.

FlatMenuKey

Gets the ResourceKey for the FlatMenu property.

FocusBorderHeight

Gets the height, in pixels, of the upper and lower edges of the focus rectangle.

FocusBorderHeightKey

Gets the ResourceKey for the FocusBorderHeight property.

FocusBorderWidth

Gets the width, in pixels, of the left and right edges of the focus rectangle.

FocusBorderWidthKey

Gets the ResourceKey for the FocusBorderWidth property.

FocusHorizontalBorderHeight

Gets the height of the upper and lower edges of the focus rectangle.

FocusHorizontalBorderHeightKey

Gets the ResourceKey for the FocusHorizontalBorderHeight property.

FocusVerticalBorderWidth

Gets the width of the left and right edges of the focus rectangle.

FocusVerticalBorderWidthKey

Gets the ResourceKey for the FocusVerticalBorderWidth property.

FocusVisualStyleKey

Gets the ResourceKey for the FocusVisualStyle property.

ForegroundFlashCount

Gets the number of times the Set Foreground Window flashes the taskbar button when rejecting a foreground switch request.

ForegroundFlashCountKey

Gets the ResourceKey for the ForegroundFlashCount property.

FullPrimaryScreenHeight

Gets the height, in pixels, of the client area for a full-screen window on the primary display monitor.

FullPrimaryScreenHeightKey

Gets the ResourceKey for the FullPrimaryScreenHeight property.

FullPrimaryScreenWidth

Gets the width, in pixels, of the client area for a full-screen window on the primary display monitor.

FullPrimaryScreenWidthKey

Gets the ResourceKey for the FullPrimaryScreenWidth property.

GradientCaptions

Gets a value indicating whether the gradient effect for window title bars is enabled.

GradientCaptionsKey

Gets the ResourceKey for the GradientCaptions property.

HighContrast

Gets information about the High Contrast accessibility feature.

HighContrastKey

Gets the ResourceKey for the HighContrast property.

HorizontalScrollBarButtonWidth

Gets the width, in pixels, of the arrow bitmap on a horizontal scroll bar.

HorizontalScrollBarButtonWidthKey

Gets the ResourceKey for the HorizontalScrollBarButtonWidth property.

HorizontalScrollBarHeight

Gets the height of a horizontal scroll bar, in pixels.

HorizontalScrollBarHeightKey

Gets the ResourceKey for the HorizontalScrollBarHeight property.

HorizontalScrollBarThumbWidth

Gets the width, in pixels, of the Thumb in a horizontal scroll bar.

HorizontalScrollBarThumbWidthKey

Gets the ResourceKey for the HorizontalScrollBarThumbWidth property.

HotTracking

Gets a value indicating whether hot tracking of user-interface elements, such as menu names on menu bars, is enabled.

HotTrackingKey

Gets the ResourceKey for the HotTracking property.

IconGridHeight

Gets the height of a grid in which a large icon will fit.

IconGridHeightKey

Gets the ResourceKey for the IconGridHeight property.

IconGridWidth

Gets the width of a grid that a large icon will fit into.

IconGridWidthKey

Gets the ResourceKey for the IconGridWidth property.

IconHeight

Gets the default height of an icon.

IconHeightKey

Gets the ResourceKey for the IconHeight property.

IconHorizontalSpacing

Gets the width, in pixels, of an icon cell. The system uses this rectangle to arrange icons in large icon view.

IconHorizontalSpacingKey

Gets the ResourceKey for the IconHorizontalSpacing property.

IconTitleWrap

Gets a value indicating whether icon-title wrapping is enabled.

IconTitleWrapKey

Gets the ResourceKey for the IconTitleWrap property.

IconVerticalSpacing

Gets the height, in pixels, of an icon cell. The system uses this rectangle to arrange icons in large icon view.

IconVerticalSpacingKey

Gets the ResourceKey for the IconVerticalSpacing property.

IconWidth

Gets the default width of an icon.

IconWidthKey

Gets the ResourceKey for the IconWidth property.

IsGlassEnabled

Gets a value that indicates whether glass window frames are being used.

IsImmEnabled

Gets a value that indicates whether the system is ready to use a Unicode-based Input Method Editor (IME) on a Unicode application.

IsImmEnabledKey

Gets the ResourceKey for the IsImmEnabled property.

IsMediaCenter

Gets a value that indicates whether the current operating system is the Microsoft Windows XP Media Center Edition.

IsMediaCenterKey

Gets the ResourceKey for the IsMediaCenter property.

IsMenuDropRightAligned

Gets a value that indicates whether drop-down menus are right-aligned with the corresponding menu item.

IsMenuDropRightAlignedKey

Gets the ResourceKey for the IsMenuDropRightAligned property.

IsMiddleEastEnabled

Gets a value that indicates whether the system is enabled for Hebrew and Arabic languages.

IsMiddleEastEnabledKey

Gets the ResourceKey for the IsMiddleEastEnabled property.

IsMousePresent

Gets a value that indicates whether a mouse is installed.

IsMousePresentKey

Gets the ResourceKey for the IsMousePresent property.

IsMouseWheelPresent

Gets a value that indicates whether the installed mouse has a vertical scroll wheel.

IsMouseWheelPresentKey

Gets the ResourceKey for the IsMouseWheelPresent property.

IsPenWindows

Gets a value that indicates whether Microsoft Windows for Pen Computing extensions are installed.

IsPenWindowsKey

Gets the ResourceKey for the IsPenWindows property.

IsRemotelyControlled

Gets a value that indicates whether the current session is remotely controlled.

IsRemotelyControlledKey

Gets the ResourceKey for the IsRemotelyControlled property.

IsRemoteSession

Gets a value that indicates whether the calling process is associated with a Terminal Services client session.

IsRemoteSessionKey

Gets the ResourceKey for the IsRemoteSession property.

IsSlowMachine

Gets a value that indicates whether the computer has a low-end (slow) processor.

IsSlowMachineKey

Gets the ResourceKey for the IsSlowMachine property.

IsTabletPC

Gets a value that indicates whether the current operating system is Microsoft Windows XP Tablet PC Edition.

IsTabletPCKey

Gets the ResourceKey for the IsTabletPC property.

KanjiWindowHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of the kanji window at the bottom of the screen for systems that use double-byte characters.

KanjiWindowHeightKey

Gets the ResourceKey for the KanjiWindowHeight property.

KeyboardCues

Gets a value indicating whether menu access keys are always underlined.

KeyboardCuesKey

Gets the ResourceKey for the KeyboardCues property.

KeyboardDelay

Gets the keyboard repeat-delay setting, which is a value in the range from 0 (approximately 250 milliseconds delay) through 3 (approximately 1 second delay).

KeyboardDelayKey

Gets the ResourceKey for the KeyboardDelay property.

KeyboardPreference

Gets a value indicating whether the user relies on the keyboard instead of the mouse, and whether the user wants applications to display keyboard interfaces that are typically hidden.

KeyboardPreferenceKey

Gets the ResourceKey for the KeyboardPreference property.

KeyboardSpeed

Gets the keyboard repeat-speed setting, which is a value in the range from 0 (approximately 2.5 repetitions per second) through 31 (approximately 30 repetitions per second).

KeyboardSpeedKey

Gets the ResourceKey for the KeyboardSpeed property.

ListBoxSmoothScrolling

Gets a value indicating whether the smooth-scrolling effect for list boxes is enabled.

ListBoxSmoothScrollingKey

Gets the ResourceKey for the ListBoxSmoothScrolling property.

MaximizedPrimaryScreenHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of a maximized top-level window on the primary display monitor.

MaximizedPrimaryScreenHeightKey

Gets the ResourceKey for the MaximizedPrimaryScreenHeight property.

MaximizedPrimaryScreenWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of a maximized top-level window on the primary display monitor.

MaximizedPrimaryScreenWidthKey

Gets the ResourceKey for the MaximizedPrimaryScreenWidth property.

MaximumWindowTrackHeight

Gets a value that indicates the maximum height, in pixels adjusted for DPI, of a window that has a caption and sizing borders.

MaximumWindowTrackHeightKey

Gets the ResourceKey for the MaximumWindowTrackHeight property.

MaximumWindowTrackWidth

Gets a value that indicates the maximum width, in pixels adjusted for DPI, of a window that has a caption and sizing borders.

MaximumWindowTrackWidthKey

Gets the ResourceKey for the MaximumWindowTrackWidth property.

MenuAnimation

Gets a value indicating whether the menu animation feature is enabled.

MenuAnimationKey

Gets the ResourceKey for the MenuAnimation property.

MenuBarHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of a single-line menu bar.

MenuBarHeightKey

Gets the ResourceKey for the MenuBarHeight property.

MenuButtonHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of a menu bar button.

MenuButtonHeightKey

Gets the ResourceKey for the MenuButtonHeight property.

MenuButtonWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of a menu bar button.

MenuButtonWidthKey

Gets the ResourceKey for the MenuButtonWidth property.

MenuCheckmarkHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of the default menu check-mark bitmap.

MenuCheckmarkHeightKey

Gets the ResourceKey for the MenuCheckmarkHeight property.

MenuCheckmarkWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of the default menu check-mark bitmap.

MenuCheckmarkWidthKey

Gets the ResourceKey for the MenuCheckmarkWidth property.

MenuDropAlignment

Gets a value indicating whether pop-up menus are left-aligned or right-aligned, relative to the corresponding menu item.

MenuDropAlignmentKey

Gets the ResourceKey for the MenuDropAlignment property.

MenuFade

Gets a value indicating whether menu fade animation is enabled.

MenuFadeKey

Gets the ResourceKey for the MenuFade property.

MenuHeight

Gets the metric that determines the height of the menu.

MenuHeightKey

Gets the ResourceKey for the MenuHeight property.

MenuPopupAnimation

Gets the system value of the PopupAnimation property for menus.

MenuPopupAnimationKey

Gets the ResourceKey for the MenuPopupAnimation property.

MenuShowDelay

Gets the time, in milliseconds, that the system waits before displaying a shortcut menu when the mouse cursor is over a submenu item.

MenuShowDelayKey

Gets the ResourceKey for the MenuShowDelay property.

MenuWidth

Gets the metric that determines the width of the menu.

MenuWidthKey

Gets the ResourceKey for the MenuWidth property.

MinimizeAnimation

Gets the animation effects associated with user actions.

MinimizeAnimationKey

Gets the ResourceKey for the MinimizeAnimation property.

MinimizedGridHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of a grid cell for a minimized window.

MinimizedGridHeightKey

Gets the ResourceKey for the MinimizedGridHeight property.

MinimizedGridWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of a grid cell for a minimized window.

MinimizedGridWidthKey

Gets the ResourceKey for the MinimizedGridWidth property.

MinimizedWindowHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of a minimized window.

MinimizedWindowHeightKey

Gets the ResourceKey for the MinimizedWindowHeight property.

MinimizedWindowWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of a minimized window.

MinimizedWindowWidthKey

Gets the ResourceKey for the MinimizedWindowWidth property.

MinimumHorizontalDragDistance

Gets the width of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins.

MinimumVerticalDragDistance

Gets the height of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins.

MinimumWindowHeight

Gets a value that indicates the minimum height, in pixels adjusted for DPI, of a window.

MinimumWindowHeightKey

Gets the ResourceKey for the MinimumWindowHeight property.

MinimumWindowTrackHeight

Gets a value that indicates the minimum tracking height of a window, in pixels adjusted for DPI.

MinimumWindowTrackHeightKey

Gets the ResourceKey for the MinimumWindowTrackHeight property.

MinimumWindowTrackWidth

Gets a value that indicates the minimum tracking width of a window, in pixels adjusted for DPI.

MinimumWindowTrackWidthKey

Gets the ResourceKey for the MinimumWindowTrackWidth property.

MinimumWindowWidth

Gets a value that indicates the minimum width, in pixels adjusted for DPI, of a window.

MinimumWindowWidthKey

Gets the ResourceKey for the MinimumWindowWidth property.

MouseHoverHeight

Gets the height, in pixels, of the rectangle within which the mouse pointer has to stay to generate a mouse-hover event.

MouseHoverHeightKey

Gets the ResourceKey for the MouseHoverHeight property.

MouseHoverTime

Gets the time, in milliseconds, that the mouse pointer must remain in the hover rectangle to generate a mouse-hover event.

MouseHoverTimeKey

Gets the ResourceKey for the MouseHoverTime property.

MouseHoverWidth

Gets the width, in pixels, of the rectangle within which the mouse pointer has to stay to generate a mouse-hover event.

MouseHoverWidthKey

Gets the ResourceKey for the MouseHoverWidth property.

NavigationChromeDownLevelStyleKey

Gets the ResourceKey for the NavigationChromeDownLevelStyleKey property.

NavigationChromeStyleKey

Gets the ResourceKey for the NavigationChromeStyleKey property.

PowerLineStatus

Gets a value indicating whether the system power is online, or that the system power status is unknown.

PowerLineStatusKey

Gets a ResourceKey for the PowerLineStatus property.

PrimaryScreenHeight

Gets a value that indicates the screen height, in pixels adjusted for DPI, of the primary display monitor.

PrimaryScreenHeightKey

Gets the ResourceKey for the PrimaryScreenHeight property.

PrimaryScreenWidth

Gets a value that indicates the screen width, in pixels adjusted for DPI, of the primary display monitor.

PrimaryScreenWidthKey

Gets the ResourceKey for the PrimaryScreenWidth property.

ResizeFrameHorizontalBorderHeight

Gets a value that indicates the height (thickness), in pixels adjusted for DPI, of the horizontal sizing border around the perimeter of a window that can be resized.

ResizeFrameHorizontalBorderHeightKey

Gets the ResourceKey for the ResizeFrameHorizontalBorderHeight property.

ResizeFrameVerticalBorderWidth

Gets a value that indicates the width (thickness), in pixels adjusted for DPI, of the vertical sizing border around the perimeter of a window that can be resized.

ResizeFrameVerticalBorderWidthKey

Gets the ResourceKey for the ResizeFrameVerticalBorderWidth property.

ScrollHeight

Gets the metric that determines the scroll height of the nonclient area of a nonminimized window.

ScrollHeightKey

Gets the ResourceKey for the ScrollHeight property.

ScrollWidth

Gets the metric that determines the scroll width of the nonclient area of a nonminimized window.

ScrollWidthKey

Gets the ResourceKey for the ScrollWidth property.

SelectionFade

Gets a value indicating whether the selection fade effect is enabled.

SelectionFadeKey

Gets the ResourceKey for the SelectionFade property.

ShowSounds

Gets a value that indicates whether the user requires information in visual format.

ShowSoundsKey

Gets the ResourceKey for the ShowSounds property.

SmallCaptionHeight

Gets the metric that determines the height of the small caption of the nonclient area of a nonminimized window.

SmallCaptionHeightKey

Gets the ResourceKey for the SmallCaptionHeight property.

SmallCaptionWidth

Gets the metric that determines the width of the small caption of the nonclient area of a nonminimized window.

SmallCaptionWidthKey

Gets the ResourceKey for the SmallCaptionWidth property.

SmallIconHeight

Gets a value that indicates the recommended height, in pixels adjusted for DPI, of a small icon.

SmallIconHeightKey

Gets the ResourceKey for the SmallIconHeight property.

SmallIconWidth

Gets a value that indicates the recommended width, in pixels adjusted for DPI, of a small icon.

SmallIconWidthKey

Gets the ResourceKey for the SmallIconWidth property.

SmallWindowCaptionButtonHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of small caption buttons.

SmallWindowCaptionButtonHeightKey

Gets the ResourceKey for the SmallWindowCaptionButtonHeight property.

SmallWindowCaptionButtonWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of small caption buttons.

SmallWindowCaptionButtonWidthKey

Gets the ResourceKey for the SmallWindowCaptionButtonWidth property.

SnapToDefaultButton

Gets a value indicating whether the snap-to-default button is enabled. If enabled, the mouse cursor automatically moves to the default button of a dialog box, such as OK or Apply.

SnapToDefaultButtonKey

Gets the ResourceKey for the SnapToDefaultButton property.

StylusHotTracking

Gets a value indicating whether hot tracking of a stylus is enabled.

StylusHotTrackingKey

Gets the ResourceKey for the StylusHotTracking property.

SwapButtons

Gets a value that indicates whether the functionality of the left and right mouse buttons are swapped.

SwapButtonsKey

Gets the ResourceKey for the SwapButtons property.

ThickHorizontalBorderHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of a 3-D border.

ThickHorizontalBorderHeightKey

Gets the ResourceKey for the ThickHorizontalBorderHeight property.

ThickVerticalBorderWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of a 3-D border.

ThickVerticalBorderWidthKey

Gets the ResourceKey for the ThickVerticalBorderWidth property.

ThinHorizontalBorderHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of a horizontal window border.

ThinHorizontalBorderHeightKey

Gets the ResourceKey for the ThinHorizontalBorderHeight property.

ThinVerticalBorderWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of a vertical window border.

ThinVerticalBorderWidthKey

Gets the ResourceKey for the ThinVerticalBorderWidth property.

ToolTipAnimation

Gets a value indicating whether ToolTip animation is enabled.

ToolTipAnimationKey

Gets the ResourceKey for the ToolTipAnimation property.

ToolTipFade

Gets a value indicating whether ToolTip animation uses a fade effect or a slide effect.

ToolTipFadeKey

Gets the ResourceKey for the ToolTipFade property.

ToolTipPopupAnimation

Gets the system value of the PopupAnimation property for ToolTips.

ToolTipPopupAnimationKey

Gets the ResourceKey for the ToolTipPopupAnimation property.

UIEffects

Gets a value that indicates whether all user interface (UI) effects are enabled.

UIEffectsKey

Gets the ResourceKey for the UIEffects property.

UxThemeColor

Gets the color theme name.

UxThemeName

Gets the theme name.

VerticalScrollBarButtonHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of the arrow bitmap on a vertical scroll bar.

VerticalScrollBarButtonHeightKey

Gets the ResourceKey for the VerticalScrollBarButtonHeight property.

VerticalScrollBarThumbHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of the thumb in a vertical scroll bar.

VerticalScrollBarThumbHeightKey

Gets the ResourceKey for the VerticalScrollBarThumbHeight property.

VerticalScrollBarWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of a vertical scroll bar.

VerticalScrollBarWidthKey

Gets the ResourceKey for the VerticalScrollBarWidth property.

VirtualScreenHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of the virtual screen.

VirtualScreenHeightKey

Gets the ResourceKey for the VirtualScreenHeight property.

VirtualScreenLeft

Gets a value that indicates the coordinate for the left side of the virtual screen.

VirtualScreenLeftKey

Gets the ResourceKey for the VirtualScreenLeft property.

VirtualScreenTop

Gets a value that indicates the upper coordinate of the virtual screen.

VirtualScreenTopKey

Gets the ResourceKey for the VirtualScreenTop property.

VirtualScreenWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of the virtual screen.

VirtualScreenWidthKey

Gets the ResourceKey for the VirtualScreenWidth property.

WheelScrollLines

Gets a value that indicates the number of lines to scroll when the mouse wheel is rotated.

WheelScrollLinesKey

Gets the ResourceKey for the WheelScrollLines property.

WindowCaptionButtonHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of a button in the title bar of a window.

WindowCaptionButtonHeightKey

Gets the ResourceKey for the WindowCaptionButtonHeight property.

WindowCaptionButtonWidth

Gets a value that indicates the width, in pixels adjusted for DPI, of a button in the title bar of a window.

WindowCaptionButtonWidthKey

Gets the ResourceKey for the WindowCaptionButtonWidth property.

WindowCaptionHeight

Gets a value that indicates the height, in pixels adjusted for DPI, of a caption area.

WindowCaptionHeightKey

Gets the ResourceKey for the WindowCaptionHeight property.

WindowCornerRadius

Gets the radius of the corners for a window.

WindowGlassBrush

Gets the brush that paints the glass window frame.

WindowGlassColor

Gets the color that is used to paint the glass window frame.

WindowNonClientFrameThickness

Gets the size of the non-client area of the window.

WindowResizeBorderThickness

Gets the size of the resizing border around the window.

WorkArea

Gets the size of the work area on the primary display monitor.

WorkAreaKey

Gets the ResourceKey for the WorkArea property.

Events

StaticPropertyChanged

Occurs when one of the properties changes.

Applies to