AutomationElement.AutomationElementInformation.ClassName Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: