Редагувати

Поділитися через


SystemParameter Enum

Definition

Specifies the system parameter type.

public enum class SystemParameter
[System.Runtime.InteropServices.ComVisible(true)]
public enum SystemParameter
public enum SystemParameter
[<System.Runtime.InteropServices.ComVisible(true)>]
type SystemParameter = 
type SystemParameter = 
Public Enum SystemParameter
Inheritance
SystemParameter
Attributes

Fields

Name Value Description
DropShadow 0

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

FlatMenu 1

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

FontSmoothingContrastMetric 2

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

FontSmoothingTypeMetric 3

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

MenuFadeEnabled 4

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

SelectionFade 5

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

ToolTipAnimationMetric 6

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

UIEffects 7

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

CaretWidthMetric 8

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

VerticalFocusThicknessMetric 9

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

HorizontalFocusThicknessMetric 10

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

Remarks

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.

Applies to

See also