Skip to main content

GetClassName Method

Gets a string that describes the class of the element.

Definition​

Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public string GetClassName()

Return Value​

String

Remarks​

A string containing the class name for the automation element as assigned by the control developer. This is often the C# class name of the control.

WindowsUIA_ClassNamePropertyId
macOSNo mapping.

See Also​

Reference​

AutomationPeer Class
Avalonia.Automation.Peers Namespace