Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains properties that you can use to query system settings of the non-client area of a window.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Shell.SystemParameters2
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Class SystemParameters2 _
Implements INotifyPropertyChanged
public class SystemParameters2 : INotifyPropertyChanged
public ref class SystemParameters2 : INotifyPropertyChanged
type SystemParameters2 =
class
interface INotifyPropertyChanged
end
public class SystemParameters2 implements INotifyPropertyChanged
The SystemParameters2 type exposes the following members.
Properties
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. |
Top
Methods
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.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
PropertyChanged | Occurs when one of the properties changes. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.