Share via


XamlControl.AutomationId Property

Gets the control's automation Id.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property AutomationId As String
public virtual string AutomationId { get; }
public:
virtual property String^ AutomationId {
    String^ get ();
}
abstract AutomationId : string with get 
override AutomationId : string with get
function get AutomationId () : String

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

XamlControl Class

Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace