Compartir a través de


Element.AutomationId Property

Definition

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

public:
 property System::String ^ AutomationId { System::String ^ get(); void set(System::String ^ value); };
public string AutomationId { get; set; }
member this.AutomationId : string with get, set
Public Property AutomationId As String

Property Value

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