System.Windows.Forms.VisualStyles.VisualStyleRenderer.GetBoolean Method

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

Syntax

public bool GetBoolean (BooleanProperty prop)

Parameters

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

Returns

true if the property specified by the prop parameter is true for the current visual style element; otherwise, false.

Remarks

Visual styles use a set of Boolean values to describe some properties of the elements defined by a style. These properties are encapsulated by the System.Windows.Forms.VisualStyles.BooleanProperty 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