System.Windows.Forms.VisualStyles.VisualStyleRenderer.GetEnumValue Method

Returns the value of the specified enumerated type property for the current visual style element.

Syntax

public int GetEnumValue (EnumProperty prop)

Parameters

prop
One of the System.Windows.Forms.VisualStyles.EnumProperty values that specifies which property value to retrieve for the current visual style element.

Returns

The integer value of the property specified by the prop parameter for the current visual style element.

Remarks

Visual styles use a set of enumerated types to describe some properties of the elements defined by a style. These enumerated types are encapsulated by the System.Windows.Forms.VisualStyles.EnumProperty values.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0