ClassName Property

AutomationElement.AutomationElementInformation.ClassName Property


Gets a string containing the class name of the element as assigned by the control developer.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

public string ClassName { get; }

Property Value

Type: System.String

The class name assigned by the control developer.

The value of this property is implementation-dependent. The property is useful in testing environments.

For more information, see ClassNameProperty.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft