Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SystemParameters Class

Contains properties that you can use to query system settings.

System.Object
  System.Windows.SystemParameters

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
public static class SystemParameters

The SystemParameters type exposes the following members.

  NameDescription
Public propertyStatic memberBorderGets the border multiplier factor that determines the width of a window's sizing border.
Public propertyStatic memberBorderKeyGets the ResourceKey for the Border property.
Public propertyStatic memberBorderWidthGets the metric that determines the border width of the nonclient area of a nonminimized window.
Public propertyStatic memberBorderWidthKeyGets the ResourceKey for the BorderWidth property.
Public propertyStatic memberCaptionHeightGets the metric that determines the caption height for the nonclient area of a nonminimized window.
Public propertyStatic memberCaptionHeightKeyGets the ResourceKey for the CaptionHeight property.
Public propertyStatic memberCaptionWidthGets the metric that determines the caption width for the nonclient area of a nonminimized window.
Public propertyStatic memberCaptionWidthKeyGets the ResourceKey for the CaptionWidth property.
Public propertyStatic memberCaretWidthGets the caret width, in pixels, for edit controls.
Public propertyStatic memberCaretWidthKeyGets the ResourceKey for the CaretWidth property.
Public propertyStatic memberClientAreaAnimationGets a value indicating whether the client area animation feature is enabled.
Public propertyStatic memberClientAreaAnimationKeyGets a ResourceKey for the ClientAreaAnimation property.
Public propertyStatic memberComboBoxAnimationGets a value indicating whether the slide-open effect for combo boxes is enabled.
Public propertyStatic memberComboBoxAnimationKeyGets the ResourceKey for the ComboBoxAnimation property.
Public propertyStatic memberComboBoxPopupAnimationGets the system value of the PopupAnimation property for combo boxes.
Public propertyStatic memberComboBoxPopupAnimationKeyGets the ResourceKey for the ComboBoxPopupAnimation property.
Public propertyStatic memberCursorHeightGets the height, in pixels, of a cursor.
Public propertyStatic memberCursorHeightKeyGets the ResourceKey for the CursorHeight property.
Public propertyStatic memberCursorShadowGets a value indicating whether the cursor has a shadow around it.
Public propertyStatic memberCursorShadowKeyGets the ResourceKey for the CursorShadow property.
Public propertyStatic memberCursorWidthGets the width, in pixels, of a cursor.
Public propertyStatic memberCursorWidthKeyGets the ResourceKey for the CursorWidth property.
Public propertyStatic memberDragFullWindowsGets a value indicating whether dragging of full windows is enabled.
Public propertyStatic memberDragFullWindowsKeyGets the ResourceKey for the DragFullWindows property.
Public propertyStatic memberDropShadowGets a value indicating whether the drop shadow effect is enabled.
Public propertyStatic memberDropShadowKeyGets the ResourceKey for the DropShadow property.
Public propertyStatic memberFixedFrameHorizontalBorderHeightGets the height of the horizontal border of the frame around a window.
Public propertyStatic memberFixedFrameHorizontalBorderHeightKeyGets the ResourceKey for the FixedFrameHorizontalBorderHeight property.
Public propertyStatic memberFixedFrameVerticalBorderWidthGets the width of the vertical border of the frame around a window.
Public propertyStatic memberFixedFrameVerticalBorderWidthKeyGets the ResourceKey for the FixedFrameVerticalBorderWidth property.
Public propertyStatic memberFlatMenuGets a value indicating whether native menus appear as a flat menu.
Public propertyStatic memberFlatMenuKeyGets the ResourceKey for the FlatMenu property.
Public propertyStatic memberFocusBorderHeightGets the height, in pixels, of the upper and lower edges of the focus rectangle.
Public propertyStatic memberFocusBorderHeightKeyGets the ResourceKey for the FocusBorderHeight property.
Public propertyStatic memberFocusBorderWidthGets the width, in pixels, of the left and right edges of the focus rectangle.
Public propertyStatic memberFocusBorderWidthKeyGets the ResourceKey for the FocusBorderWidth property.
Public propertyStatic memberFocusHorizontalBorderHeightGets the height of the upper and lower edges of the focus rectangle.
Public propertyStatic memberFocusHorizontalBorderHeightKeyGets the ResourceKey for the FocusHorizontalBorderHeight property.
Public propertyStatic memberFocusVerticalBorderWidthGets the width of the left and right edges of the focus rectangle.
Public propertyStatic memberFocusVerticalBorderWidthKeyGets the ResourceKey for the FocusVerticalBorderWidth property.
Public propertyStatic memberFocusVisualStyleKeyGets the ResourceKey for the FocusVisualStyle property.
Public propertyStatic memberForegroundFlashCountGets the number of times the Set Foreground Window flashes the taskbar button when rejecting a foreground switch request.
Public propertyStatic memberForegroundFlashCountKeyGets the ResourceKey for the ForegroundFlashCount property.
Public propertyStatic memberFullPrimaryScreenHeightGets the height, in pixels, of the client area for a full-screen window on the primary display monitor.
Public propertyStatic memberFullPrimaryScreenHeightKeyGets the ResourceKey for the FullPrimaryScreenHeight property.
Public propertyStatic memberFullPrimaryScreenWidthGets the width, in pixels, of the client area for a full-screen window on the primary display monitor.
Public propertyStatic memberFullPrimaryScreenWidthKeyGets the ResourceKey for the FullPrimaryScreenWidth property.
Public propertyStatic memberGradientCaptionsGets a value indicating whether the gradient effect for window title bars is enabled.
Public propertyStatic memberGradientCaptionsKeyGets the ResourceKey for the GradientCaptions property.
Public propertyStatic memberHighContrastGets information about the High Contrast accessibility feature.
Public propertyStatic memberHighContrastKeyGets the ResourceKey for the HighContrast property.
Public propertyStatic memberHorizontalScrollBarButtonWidthGets the width, in pixels, of the arrow bitmap on a horizontal scroll bar.
Public propertyStatic memberHorizontalScrollBarButtonWidthKeyGets the ResourceKey for the HorizontalScrollBarButtonWidth property.
Public propertyStatic memberHorizontalScrollBarHeightGets the height of a horizontal scroll bar, in pixels.
Public propertyStatic memberHorizontalScrollBarHeightKeyGets the ResourceKey for the HorizontalScrollBarHeight property.
Public propertyStatic memberHorizontalScrollBarThumbWidthGets the width, in pixels, of the Thumb in a horizontal scroll bar.
Public propertyStatic memberHorizontalScrollBarThumbWidthKeyGets the ResourceKey for the HorizontalScrollBarThumbWidth property.
Public propertyStatic memberHotTrackingGets a value indicating whether hot tracking of user-interface elements, such as menu names on menu bars, is enabled.
Public propertyStatic memberHotTrackingKeyGets the ResourceKey for the HotTracking property.
Public propertyStatic memberIconGridHeightGets the height of a grid in which a large icon will fit.
Public propertyStatic memberIconGridHeightKeyGets the ResourceKey for the IconGridHeight property.
Public propertyStatic memberIconGridWidthGets the width of a grid that a large icon will fit into.
Public propertyStatic memberIconGridWidthKeyGets the ResourceKey for the IconGridWidth property.
Public propertyStatic memberIconHeightGets the default height of an icon.
Public propertyStatic memberIconHeightKeyGets the ResourceKey for the IconHeight property.
Public propertyStatic memberIconHorizontalSpacingGets the width, in pixels, of an icon cell. The system uses this rectangle to arrange icons in large icon view.
Public propertyStatic memberIconHorizontalSpacingKeyGets the ResourceKey for the IconHorizontalSpacing property.
Public propertyStatic memberIconTitleWrapGets a value indicating whether icon-title wrapping is enabled.
Public propertyStatic memberIconTitleWrapKeyGets the ResourceKey for the IconTitleWrap property.
Public propertyStatic memberIconVerticalSpacingGets the height, in pixels, of an icon cell. The system uses this rectangle to arrange icons in large icon view.
Public propertyStatic memberIconVerticalSpacingKeyGets the ResourceKey for the IconVerticalSpacing property.
Public propertyStatic memberIconWidthGets the default width of an icon.
Public propertyStatic memberIconWidthKeyGets the ResourceKey for the IconWidth property.
Public propertyStatic memberIsImmEnabledGets a value that indicates whether the system is ready to use a Unicode-based Input Method Editor (IME) on a Unicode application.
Public propertyStatic memberIsImmEnabledKeyGets the ResourceKey for the IsImmEnabled property.
Public propertyStatic memberIsMediaCenterGets a value that indicates whether the current operating system is the Microsoft Windows XP Media Center Edition.
Public propertyStatic memberIsMediaCenterKeyGets the ResourceKey for the IsMediaCenter property.
Public propertyStatic memberIsMenuDropRightAlignedGets a value that indicates whether drop-down menus are right-aligned with the corresponding menu item.
Public propertyStatic memberIsMenuDropRightAlignedKeyGets the ResourceKey for the IsMenuDropRightAligned property.
Public propertyStatic memberIsMiddleEastEnabledGets a value that indicates whether the system is enabled for Hebrew and Arabic languages.
Public propertyStatic memberIsMiddleEastEnabledKeyGets the ResourceKey for the IsMiddleEastEnabled property.
Public propertyStatic memberIsMousePresentGets a value that indicates whether a mouse is installed.
Public propertyStatic memberIsMousePresentKeyGets the ResourceKey for the IsMousePresent property.
Public propertyStatic memberIsMouseWheelPresentGets a value that indicates whether the installed mouse has a vertical scroll wheel.
Public propertyStatic memberIsMouseWheelPresentKeyGets the ResourceKey for the IsMouseWheelPresent property.
Public propertyStatic memberIsPenWindowsGets a value that indicates whether Microsoft Windows for Pen Computing extensions are installed.
Public propertyStatic memberIsPenWindowsKeyGets the ResourceKey for the IsPenWindows property.
Public propertyStatic memberIsRemotelyControlledGets a value that indicates whether the current session is remotely controlled.
Public propertyStatic memberIsRemotelyControlledKeyGets the ResourceKey for the IsRemotelyControlled property.
Public propertyStatic memberIsRemoteSessionGets a value that indicates whether the calling process is associated with a Terminal Services client session.
Public propertyStatic memberIsRemoteSessionKeyGets the ResourceKey for the IsRemoteSession property.
Public propertyStatic memberIsSlowMachineGets a value that indicates whether the computer has a low-end (slow) processor.
Public propertyStatic memberIsSlowMachineKeyGets the ResourceKey for the IsSlowMachine property.
Public propertyStatic memberIsTabletPCGets a value that indicates whether the current operating system is Microsoft Windows XP Tablet PC Edition.
Public propertyStatic memberIsTabletPCKeyGets the ResourceKey for the IsTabletPC property.
Public propertyStatic memberKanjiWindowHeightGets a value that indicates the height, in pixels, of the kanji window at the bottom of the screen for systems that use double-byte characters.
Public propertyStatic memberKanjiWindowHeightKeyGets the ResourceKey for the KanjiWindowHeight property.
Public propertyStatic memberKeyboardCuesGets a value indicating whether menu access keys are always underlined.
Public propertyStatic memberKeyboardCuesKeyGets the ResourceKey for the KeyboardCues property.
Public propertyStatic memberKeyboardDelayGets the keyboard repeat-delay setting, which is a value in the range from 0 (approximately 250 milliseconds delay) through 3 (approximately 1 second delay).
Public propertyStatic memberKeyboardDelayKeyGets the ResourceKey for the KeyboardDelay property.
Public propertyStatic memberKeyboardPreferenceGets 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.
Public propertyStatic memberKeyboardPreferenceKeyGets the ResourceKey for the KeyboardPreference property.
Public propertyStatic memberKeyboardSpeedGets 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).
Public propertyStatic memberKeyboardSpeedKeyGets the ResourceKey for the KeyboardSpeed property.
Public propertyStatic memberListBoxSmoothScrollingGets a value indicating whether the smooth-scrolling effect for list boxes is enabled.
Public propertyStatic memberListBoxSmoothScrollingKeyGets the ResourceKey for the ListBoxSmoothScrolling property.
Public propertyStatic memberMaximizedPrimaryScreenHeightGets a value that indicates the height, in pixels, of a maximized top-level window on the primary display monitor.
Public propertyStatic memberMaximizedPrimaryScreenHeightKeyGets the ResourceKey for the MaximizedPrimaryScreenHeight property.
Public propertyStatic memberMaximizedPrimaryScreenWidthGets a value that indicates the width, in pixels, of a maximized top-level window on the primary display monitor.
Public propertyStatic memberMaximizedPrimaryScreenWidthKeyGets the ResourceKey for the MaximizedPrimaryScreenWidth property.
Public propertyStatic memberMaximumWindowTrackHeightGets a value that indicates the maximum height, in pixels, of a window that has a caption and sizing borders.
Public propertyStatic memberMaximumWindowTrackHeightKeyGets the ResourceKey for the MaximumWindowTrackHeight property.
Public propertyStatic memberMaximumWindowTrackWidthGets a value that indicates the maximum width, in pixels, of a window that has a caption and sizing borders.
Public propertyStatic memberMaximumWindowTrackWidthKeyGets the ResourceKey for the MaximumWindowTrackWidth property.
Public propertyStatic memberMenuAnimationGets a value indicating whether the menu animation feature is enabled.
Public propertyStatic memberMenuAnimationKeyGets the ResourceKey for the MenuAnimation property.
Public propertyStatic memberMenuBarHeightGets a value that indicates the height, in pixels, of a single-line menu bar.
Public propertyStatic memberMenuBarHeightKeyGets the ResourceKey for the MenuBarHeight property.
Public propertyStatic memberMenuButtonHeightGets a value that indicates the height, in pixels, of a menu bar button.
Public propertyStatic memberMenuButtonHeightKeyGets the ResourceKey for the MenuButtonHeight property.
Public propertyStatic memberMenuButtonWidthGets a value that indicates the width, in pixels, of a menu bar button.
Public propertyStatic memberMenuButtonWidthKeyGets the ResourceKey for the MenuButtonWidth property.
Public propertyStatic memberMenuCheckmarkHeightGets a value that indicates the height, in pixels, of the default menu check-mark bitmap.
Public propertyStatic memberMenuCheckmarkHeightKeyGets the ResourceKey for the MenuCheckmarkHeight property.
Public propertyStatic memberMenuCheckmarkWidthGets a value that indicates the width, in pixels, of the default menu check-mark bitmap.
Public propertyStatic memberMenuCheckmarkWidthKeyGets the ResourceKey for the MenuCheckmarkWidth property.
Public propertyStatic memberMenuDropAlignmentGets a value indicating whether pop-up menus are left-aligned or right-aligned, relative to the corresponding menu item.
Public propertyStatic memberMenuDropAlignmentKeyGets the ResourceKey for the MenuDropAlignment property.
Public propertyStatic memberMenuFadeGets a value indicating whether menu fade animation is enabled.
Public propertyStatic memberMenuFadeKeyGets the ResourceKey for the MenuFade property.
Public propertyStatic memberMenuHeightGets the metric that determines the height of the menu.
Public propertyStatic memberMenuHeightKeyGets the ResourceKey for the MenuHeight property.
Public propertyStatic memberMenuPopupAnimationGets the system value of the PopupAnimation property for menus.
Public propertyStatic memberMenuPopupAnimationKeyGets the ResourceKey for the MenuPopupAnimation property.
Public propertyStatic memberMenuShowDelayGets the time, in milliseconds, that the system waits before displaying a shortcut menu when the mouse cursor is over a submenu item.
Public propertyStatic memberMenuShowDelayKeyGets the ResourceKey for the MenuShowDelay property.
Public propertyStatic memberMenuWidthGets the metric that determines the width of the menu.
Public propertyStatic memberMenuWidthKeyGets the ResourceKey for the MenuWidth property.
Public propertyStatic memberMinimizeAnimationGets the animation effects associated with user actions.
Public propertyStatic memberMinimizeAnimationKeyGets the ResourceKey for the MinimizeAnimation property.
Public propertyStatic memberMinimizedGridHeightGets a value that indicates the height, in pixels, of a grid cell for a minimized window.
Public propertyStatic memberMinimizedGridHeightKeyGets the ResourceKey for the MinimizedGridHeight property.
Public propertyStatic memberMinimizedGridWidthGets a value that indicates the width, in pixels, of a grid cell for a minimized window.
Public propertyStatic memberMinimizedGridWidthKeyGets the ResourceKey for the MinimizedGridWidth property.
Public propertyStatic memberMinimizedWindowHeightGets a value that indicates the height, in pixels, of a minimized window.
Public propertyStatic memberMinimizedWindowHeightKeyGets the ResourceKey for the MinimizedWindowHeight property.
Public propertyStatic memberMinimizedWindowWidthGets a value that indicates the width, in pixels, of a minimized window.
Public propertyStatic memberMinimizedWindowWidthKeyGets the ResourceKey for the MinimizedWindowWidth property.
Public propertyStatic memberMinimumHorizontalDragDistanceGets the width of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins.
Public propertyStatic memberMinimumVerticalDragDistanceGets the height of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins.
Public propertyStatic memberMinimumWindowHeightGets a value that indicates the minimum height, in pixels, of a window.
Public propertyStatic memberMinimumWindowHeightKeyGets the ResourceKey for the MinimumWindowHeight property.
Public propertyStatic memberMinimumWindowTrackHeightGets a value that indicates the minimum tracking height of a window, in pixels.
Public propertyStatic memberMinimumWindowTrackHeightKeyGets the ResourceKey for the MinimumWindowTrackHeight property.
Public propertyStatic memberMinimumWindowTrackWidthGets a value that indicates the minimum tracking width of a window, in pixels.
Public propertyStatic memberMinimumWindowTrackWidthKeyGets the ResourceKey for the MinimumWindowTrackWidth property.
Public propertyStatic memberMinimumWindowWidthGets a value that indicates the minimum width, in pixels, of a window.
Public propertyStatic memberMinimumWindowWidthKeyGets the ResourceKey for the MinimumWindowWidth property.
Public propertyStatic memberMouseHoverHeightGets the height, in pixels, of the rectangle within which the mouse pointer has to stay to generate a mouse-hover event.
Public propertyStatic memberMouseHoverHeightKeyGets the ResourceKey for the MouseHoverHeight property.
Public propertyStatic memberMouseHoverTimeGets the time, in milliseconds, that the mouse pointer must remain in the hover rectangle to generate a mouse-hover event.
Public propertyStatic memberMouseHoverTimeKeyGets the ResourceKey for the MouseHoverTime property.
Public propertyStatic memberMouseHoverWidthGets the width, in pixels, of the rectangle within which the mouse pointer has to stay to generate a mouse-hover event.
Public propertyStatic memberMouseHoverWidthKeyGets the ResourceKey for the MouseHoverWidth property.
Public propertyStatic memberNavigationChromeDownLevelStyleKeyGets the ResourceKey for the NavigationChromeDownLevelStyleKey property.
Public propertyStatic memberNavigationChromeStyleKeyGets the ResourceKey for the NavigationChromeStyleKey property.
Public propertyStatic memberPowerLineStatusGets a value indicating whether the system power is online, or that the system power status is unknown.
Public propertyStatic memberPowerLineStatusKeyGets a ResourceKey for the PowerLineStatus property.
Public propertyStatic memberPrimaryScreenHeightGets a value that indicates the screen height, in pixels, of the primary display monitor.
Public propertyStatic memberPrimaryScreenHeightKeyGets the ResourceKey for the PrimaryScreenHeight property.
Public propertyStatic memberPrimaryScreenWidthGets a value that indicates the screen width, in pixels, of the primary display monitor.
Public propertyStatic memberPrimaryScreenWidthKeyGets the ResourceKey for the PrimaryScreenWidth property.
Public propertyStatic memberResizeFrameHorizontalBorderHeightGets a value that indicates the height (thickness), in pixels, of the horizontal sizing border around the perimeter of a window that can be resized.
Public propertyStatic memberResizeFrameHorizontalBorderHeightKeyGets the ResourceKey for the ResizeFrameHorizontalBorderHeight property.
Public propertyStatic memberResizeFrameVerticalBorderWidthGets a value that indicates the width (thickness), in pixels, of the vertical sizing border around the perimeter of a window that can be resized.
Public propertyStatic memberResizeFrameVerticalBorderWidthKeyGets the ResourceKey for the ResizeFrameVerticalBorderWidth property.
Public propertyStatic memberScrollHeightGets the metric that determines the scroll height of the nonclient area of a nonminimized window.
Public propertyStatic memberScrollHeightKeyGets the ResourceKey for the ScrollHeight property.
Public propertyStatic memberScrollWidthGets the metric that determines the scroll width of the nonclient area of a nonminimized window.
Public propertyStatic memberScrollWidthKeyGets the ResourceKey for the ScrollWidth property.
Public propertyStatic memberSelectionFadeGets a value indicating whether the selection fade effect is enabled.
Public propertyStatic memberSelectionFadeKeyGets the ResourceKey for the SelectionFade property.
Public propertyStatic memberShowSoundsGets a value that indicates whether the user requires information in visual format.
Public propertyStatic memberShowSoundsKeyGets the ResourceKey for the ShowSounds property.
Public propertyStatic memberSmallCaptionHeightGets the metric that determines the height of the small caption of the nonclient area of a nonminimized window.
Public propertyStatic memberSmallCaptionHeightKeyGets the ResourceKey for the SmallCaptionHeight property.
Public propertyStatic memberSmallCaptionWidthGets the metric that determines the width of the small caption of the nonclient area of a nonminimized window.
Public propertyStatic memberSmallCaptionWidthKeyGets the ResourceKey for the SmallCaptionWidth property.
Public propertyStatic memberSmallIconHeightGets a value that indicates the recommended height, in pixels, of a small icon.
Public propertyStatic memberSmallIconHeightKeyGets the ResourceKey for the SmallIconHeight property.
Public propertyStatic memberSmallIconWidthGets a value that indicates the recommended width, in pixels, of a small icon.
Public propertyStatic memberSmallIconWidthKeyGets the ResourceKey for the SmallIconWidth property.
Public propertyStatic memberSmallWindowCaptionButtonHeightGets a value that indicates the height, in pixels, of small caption buttons.
Public propertyStatic memberSmallWindowCaptionButtonHeightKeyGets the ResourceKey for the SmallWindowCaptionButtonHeight property.
Public propertyStatic memberSmallWindowCaptionButtonWidthGets a value that indicates the width, in pixels, of small caption buttons.
Public propertyStatic memberSmallWindowCaptionButtonWidthKeyGets the ResourceKey for the SmallWindowCaptionButtonWidth property.
Public propertyStatic memberSnapToDefaultButtonGets 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.
Public propertyStatic memberSnapToDefaultButtonKeyGets the ResourceKey for the SnapToDefaultButton property.
Public propertyStatic memberStylusHotTrackingGets a value indicating whether hot tracking of a stylus is enabled.
Public propertyStatic memberStylusHotTrackingKeyGets the ResourceKey for the StylusHotTracking property.
Public propertyStatic memberSwapButtonsGets a value that indicates whether the functionality of the left and right mouse buttons are swapped.
Public propertyStatic memberSwapButtonsKeyGets the ResourceKey for the SwapButtons property.
Public propertyStatic memberThickHorizontalBorderHeightGets a value that indicates the height, in pixels, of a 3-D border.
Public propertyStatic memberThickHorizontalBorderHeightKeyGets the ResourceKey for the ThickHorizontalBorderHeight property.
Public propertyStatic memberThickVerticalBorderWidthGets a value that indicates the width, in pixels, of a 3-D border.
Public propertyStatic memberThickVerticalBorderWidthKeyGets the ResourceKey for the ThickVerticalBorderWidth property.
Public propertyStatic memberThinHorizontalBorderHeightGets a value that indicates the height, in pixels, of a horizontal window border.
Public propertyStatic memberThinHorizontalBorderHeightKeyGets the ResourceKey for the ThinHorizontalBorderHeight property.
Public propertyStatic memberThinVerticalBorderWidthGets a value that indicates the width, in pixels, of a vertical window border.
Public propertyStatic memberThinVerticalBorderWidthKeyGets the ResourceKey for the ThinVerticalBorderWidth property.
Public propertyStatic memberToolTipAnimationGets a value indicating whether ToolTip animation is enabled.
Public propertyStatic memberToolTipAnimationKeyGets the ResourceKey for the ToolTipAnimation property.
Public propertyStatic memberToolTipFadeGets a value indicating whether ToolTip animation uses a fade effect or a slide effect.
Public propertyStatic memberToolTipFadeKeyGets the ResourceKey for the ToolTipFade property.
Public propertyStatic memberToolTipPopupAnimationGets the system value of the PopupAnimation property for ToolTips.
Public propertyStatic memberToolTipPopupAnimationKeyGets the ResourceKey for the ToolTipPopupAnimation property.
Public propertyStatic memberUIEffectsGets a value that indicates whether all user interface (UI) effects are enabled.
Public propertyStatic memberUIEffectsKeyGets the ResourceKey for the UIEffects property.
Public propertyStatic memberVerticalScrollBarButtonHeightGets a value that indicates the height, in pixels, of the arrow bitmap on a vertical scroll bar.
Public propertyStatic memberVerticalScrollBarButtonHeightKeyGets the ResourceKey for the VerticalScrollBarButtonHeight property.
Public propertyStatic memberVerticalScrollBarThumbHeightGets a value that indicates the height, in pixels, of the thumb in a vertical scroll bar.
Public propertyStatic memberVerticalScrollBarThumbHeightKeyGets the ResourceKey for the VerticalScrollBarThumbHeight property.
Public propertyStatic memberVerticalScrollBarWidthGets a value that indicates the width, in pixels, of a vertical scroll bar.
Public propertyStatic memberVerticalScrollBarWidthKeyGets the ResourceKey for the VerticalScrollBarWidth property.
Public propertyStatic memberVirtualScreenHeightGets a value that indicates the height, in pixels, of the virtual screen.
Public propertyStatic memberVirtualScreenHeightKeyGets the ResourceKey for the VirtualScreenHeight property.
Public propertyStatic memberVirtualScreenLeftGets a value that indicates the coordinate for the left side of the virtual screen.
Public propertyStatic memberVirtualScreenLeftKeyGets the ResourceKey for the VirtualScreenLeft property.
Public propertyStatic memberVirtualScreenTopGets a value that indicates the upper coordinate of the virtual screen.
Public propertyStatic memberVirtualScreenTopKeyGets the ResourceKey for the VirtualScreenTop property.
Public propertyStatic memberVirtualScreenWidthGets a value that indicates the width, in pixels, of the virtual screen.
Public propertyStatic memberVirtualScreenWidthKeyGets the ResourceKey for the VirtualScreenWidth property.
Public propertyStatic memberWheelScrollLinesGets a value that indicates the number of lines to scroll when the mouse wheel is rotated.
Public propertyStatic memberWheelScrollLinesKeyGets the ResourceKey for the WheelScrollLines property.
Public propertyStatic memberWindowCaptionButtonHeightGets a value that indicates the height, in pixels, of a button in the title bar of a window.
Public propertyStatic memberWindowCaptionButtonHeightKeyGets the ResourceKey for the WindowCaptionButtonHeight property.
Public propertyStatic memberWindowCaptionButtonWidthGets a value that indicates the width, in pixels, of a button in the title bar of a window.
Public propertyStatic memberWindowCaptionButtonWidthKeyGets the ResourceKey for the WindowCaptionButtonWidth property.
Public propertyStatic memberWindowCaptionHeightGets a value that indicates the height, in pixels, of a caption area.
Public propertyStatic memberWindowCaptionHeightKeyGets the ResourceKey for the WindowCaptionHeight property.
Public propertyStatic memberWorkAreaGets the size of the work area on the primary display monitor.
Public propertyStatic memberWorkAreaKeyGets the ResourceKey for the WorkArea property.
Top

This example shows how to access and use the properties of SystemParameters in order to style or customize a button.

System resources expose several system based settings as resources in order to help you create visuals that are consistent with system settings. SystemParameters is a class that contains both system parameter value properties, and resource keys that bind to the values. For example, FullPrimaryScreenHeight is a SystemParameters property value and FullPrimaryScreenHeightKey is the corresponding resource key.

In XAML, you can use the members of SystemParameters as either a static property usage, or a dynamic resource references (with the static property value as the key). Use a dynamic resource reference if you want the system based value to update automatically while the application runs; otherwise, use a static reference. Resource keys have the suffix Key appended to the property name.

The following example shows how to access and use the static values of SystemParameters to style or customize a button. This markup example sizes a button by applying SystemParameters values to a button.


<Button FontSize="8" Margin="10, 10, 5, 5" Grid.Column="0" Grid.Row="5"      
     HorizontalAlignment="Left" 
     Height="{x:Static SystemParameters.CaptionHeight}"
     Width="{x:Static SystemParameters.IconGridWidth}">
     SystemParameters
</Button>


To use the values of SystemParameters in code, you do not have to use either static references or dynamic resource references. Instead, use the values of the SystemParameters class. Although the non-key properties are apparently defined as static properties, the runtime behavior of WPF as hosted by the system will reevaluate the properties in realtime, and will properly account for user-driven changes to system values. The following example shows how to set the width and height of a button by using SystemParameters values.


Button btncsharp = new Button();
btncsharp.Content = "SystemParameters";
btncsharp.FontSize = 8;
btncsharp.Background = SystemColors.ControlDarkDarkBrush;
btncsharp.Height = SystemParameters.CaptionHeight;
btncsharp.Width = SystemParameters.IconGridWidth;
cv2.Children.Add(btncsharp);


More Code

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.