Xamarin.Forms.Element.StyleId Property
Gets or sets a user defined value to uniquely identify the element.

Syntax

public string StyleId { get; set; }

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.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.3.3.0