Element.StyleId Property

Definition

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

C#
public string StyleId { get; set; }

Property Value

System.String

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

Product Versions
Xamarin.Forms Latest