Share via


Element.StyleId Property

Definition

Gets or sets a user defined value to uniquely identify the element.

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

Property Value

A string uniquely identifying the element.

Remarks

Use the StyleId property to identify individual elements in your application for identification in UI testing and in theme engines.

Applies to