SystemParameter Enumeration
TOC
Collapse the table of content
Expand the table of content

SystemParameter Enumeration

 

Specifies the system parameter type.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[ComVisibleAttribute(true)]
public enum SystemParameter

Member nameDescription
CaretWidthMetric

Identifies the caret width, in pixels, for edit controls. Use the SystemInformation.CaretWidth property to access this system-wide parameter. The corresponding Platform SDK system-wide parameters are SPI_GETCARETWIDTH and SPI_SETCARETWIDTH.

DropShadow

Identifies the drop shadow effect. Use the SystemInformation.IsDropShadowEnabled property to determine if this effect is enabled. The corresponding Platform SDK system-wide parameters are SPI_GETDROPSHADOW and SPI_SETDROPSHADOW.

FlatMenu

Identifies the flat menu appearance feature. Use the SystemInformation.IsFlatMenuEnabled property to determine if this feature is enabled. The corresponding Platform SDK system-wide parameters are SPI_GETFLATMENU and SPI_SETFLATMENU.

FontSmoothingContrastMetric

Identifies the contrast value used in ClearType font smoothing. Use the SystemInformation.FontSmoothingContrast property to access this system-wide parameter. The corresponding Platform SDK system-wide parameters are SPI_GETFONTSMOOTHINGCONTRAST and SPI_SETFONTSMOOTHINGCONTRAST.

FontSmoothingTypeMetric

Identifies the type of font smoothing. Use the SystemInformation.FontSmoothingType property to access this system-wide parameter. The corresponding Platform SDK system-wide parameters are SPI_GETFONTSMOOTHINGTYPE and SPI_SETFONTSMOOTHINGTYPE.

HorizontalFocusThicknessMetric

Identifies the thickness of the left and right edges of the system focus rectangle. Use the SystemInformation.HorizontalFocusThickness property to access this system-wide parameter. The corresponding Platform SDK system-wide parameter is SM_CXFOCUSBORDER.

MenuFadeEnabled

Identifies the menu fade animation feature. Use the SystemInformation.IsMenuFadeEnabled property to determine if this feature is enabled. The corresponding Platform SDK system-wide parameters are SPI_GETMENUFADE and SPI_SETMENUFADE.

SelectionFade

Identifies the selection fade effect. Use the SystemInformation.IsSelectionFadeEnabled property to determine if this feature is enabled. The corresponding Platform SDK system-wide parameters are SPI_GETSELECTIONFADE and SPI_SETSELECTIONFADE.

ToolTipAnimationMetric

Identifies the ToolTip animation feature. Use the SystemInformation.IsToolTipAnimationEnabled property to determine if this feature is enabled. The corresponding Platform SDK system-wide parameters are SPI_GETTOOLTIPANIMATION and SPI_SETTOOLTIPANIMATION.

UIEffects

Identifies the user interface (UI) effects feature. Use the SystemInformation.UIEffectsEnabled property to determine if this feature is enabled. The corresponding Platform SDK system-wide parameters are SPI_GETUIEFFECTS and SPI_SETUIEFFECTS.

VerticalFocusThicknessMetric

Identifies the thickness of the top and bottom edges of the system focus rectangle. Use the SystemInformation.VerticalFocusThickness property to access this system-wide parameter. The corresponding Platform SDK system-wide parameter is SM_CYFOCUSBORDER.

The SystemParameter enumeration is primarily used by the IsPresent method. IsPresent retrieves whether a SystemParameter is supported on the current version of the operating system.

For more information about system-wide parameters, see "SystemParametersInfo" in the Platform SDK documentation at http://msdn.microsoft.com.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft