Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SystemParameters2 Class

.NET Framework 4

Contains properties that you can use to query system settings of the non-client area of a window.


Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

public class SystemParameters2 : INotifyPropertyChanged

The SystemParameters2 type exposes the following members.

Public propertyStatic memberCurrentGets an instance of the SystemParameters2 class.
Public propertyHighContrastGets a value that indicates whether the high contrast feature is being used.
Public propertyIsGlassEnabledGets a value that indicates whether glass window frames are being used.
Public propertySmallIconSizeGets the recommended size, in pixels, of a small icon.
Public propertyUxThemeColorGets the color theme name.
Public propertyUxThemeNameGets the theme name.
Public propertyWindowCaptionButtonsLocationGets a Rect that indicates the default location of the minimize, maximize, and close buttons.
Public propertyWindowCaptionHeightGets the height of the area that contains the minimize, maximize, and close buttons.
Public propertyWindowCornerRadiusGets the degree to which the corners of a window are rounded.
Public propertyWindowGlassBrushGets the brush that paints the glass window frame.
Public propertyWindowGlassColorGets the color that is used to paint the glass window frame.
Public propertyWindowNonClientFrameThicknessGets the size of the non-client area of the window.
Public propertyWindowResizeBorderThicknessGets the size of the resizing border around the window.

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventPropertyChangedOccurs when one of the properties changes.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft