Edit

Share via


VisualStyleElement.Part Property

Definition

Gets a value indicating the part of the visual style element that this VisualStyleElement represents.

public:
 property int Part { int get(); };
public int Part { get; }
member this.Part : int
Public ReadOnly Property Part As Integer

Property Value

A value that represents the part of a visual style element.

Remarks

A part is a discrete member of a class of visual style elements. For example, visual style elements that represent a check box, radio button, and push button are all considered parts of the "BUTTON" class.

Part values are integers that range from 1 to the number of parts defined for a particular class. For more information on visual style classes, parts, and states, see Parts and States.

Applies to

See also