WinControl.ControlName Property

Gets the name of this control.

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

Syntax

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

Property Value

Type: System.String
The name of this control.

.NET Framework Security

See Also

Reference

WinControl Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace