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)
The SystemParameters2 type exposes the following members.
| Name | Description | |
|---|---|---|
|
Current | Gets an instance of the SystemParameters2 class. |
|
HighContrast | Gets a value that indicates whether the high contrast feature is being used. |
|
IsGlassEnabled | Gets a value that indicates whether glass window frames are being used. |
|
SmallIconSize | Gets the recommended size, in pixels, of a small icon. |
|
UxThemeColor | Gets the color theme name. |
|
UxThemeName | Gets the theme name. |
|
WindowCaptionButtonsLocation | Gets a Rect that indicates the default location of the minimize, maximize, and close buttons. |
|
WindowCaptionHeight | Gets the height of the area that contains the minimize, maximize, and close buttons. |
|
WindowCornerRadius | Gets the degree to which the corners of a window are rounded. |
|
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. |
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |