System.Windows.Forms.VisualStyles.VisualStyleElement.CreateElement Method

Creates a new visual style element from the specified class, part, and state values.

Syntax

public static VisualStyleElement CreateElement (string className, int part, int state)

Parameters

className
A string that represents the class name of the visual style element to be created.
part
A value that represents the part of the visual style element to be created.
state
A value that represents the state of the visual style element to be created.

Returns

A System.Windows.Forms.VisualStyles.VisualStyleElement with the VisualStyleElement.ClassName, VisualStyleElement.Part, and VisualStyleElement.State properties initialized to the className, part, and state parameters.

Remarks

Documentation for this section has not yet been entered.

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