Element.StyleId Property


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

public string StyleId { get; set; }
member this.StyleId : string with get, set

Property Value

A string uniquely identifying the element.


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

Applies to