This topic has not yet been rated - Rate this topic

SystemParameters2 Class

.NET Framework 4

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

System.Object
  Microsoft.Windows.Shell.SystemParameters2

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
public class SystemParameters2 : INotifyPropertyChanged

The SystemParameters2 type exposes the following members.

  Name Description
Public property Static member Current Gets an instance of the SystemParameters2 class.
Public property HighContrast Gets a value that indicates whether the high contrast feature is being used.
Public property IsGlassEnabled Gets a value that indicates whether glass window frames are being used.
Public property SmallIconSize Gets the recommended size, in pixels, of a small icon.
Public property UxThemeColor Gets the color theme name.
Public property UxThemeName Gets the theme name.
Public property WindowCaptionButtonsLocation Gets a Rect that indicates the default location of the minimize, maximize, and close buttons.
Public property WindowCaptionHeight Gets the height of the area that contains the minimize, maximize, and close buttons.
Public property WindowCornerRadius Gets the degree to which the corners of a window are rounded.
Public property WindowGlassBrush Gets the brush that paints the glass window frame.
Public property WindowGlassColor Gets the color that is used to paint the glass window frame.
Public property WindowNonClientFrameThickness Gets the size of the non-client area of the window.
Public property WindowResizeBorderThickness Gets the size of the resizing border around the window.
Top
  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  Name Description
Public event PropertyChanged Occurs when one of the properties changes.
Top
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)