UITestControl.ControlType Property

Gets the type of the UI Control.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.TestTools.UITesting.ControlType
The type of the UI Control.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace