Element.AutomationId Property

Definition

Gets or sets a value that allows the automation framework to find and interact with this element.

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

Property Value

System.String

A value that the automation framework can use to find and interact with this element.

Remarks

This value may only be set once on an element.

Applies to