Expand Minimize

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
CaretWidthMetricIdentifies 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.
DropShadowIdentifies 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.
FlatMenuIdentifies 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.
FontSmoothingContrastMetricIdentifies 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.
FontSmoothingTypeMetricIdentifies 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.
HorizontalFocusThicknessMetricIdentifies 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.
MenuFadeEnabledIdentifies 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.
SelectionFadeIdentifies 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.
ToolTipAnimationMetricIdentifies 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.
UIEffectsIdentifies 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.
VerticalFocusThicknessMetricIdentifies 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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft