Element.AutomationId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.