Share via


Element.ClassId Property

Definition

Gets or sets a value used to identify a collection of semantically similar elements.

public:
 property System::String ^ ClassId { System::String ^ get(); void set(System::String ^ value); };
public string ClassId { get; set; }
member this.ClassId : string with get, set
Public Property ClassId As String

Property Value

A string that represents the collection the element belongs to.

Remarks

Use the class id property to collect together elements into semantically similar groups for identification in UI testing and in theme engines.

Applies to