Skip to main content

GetAutomationControlType Method

Gets the control type for the element that is associated with the UI Automation peer.

Definition​

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

public AutomationControlType GetAutomationControlType()

Return Value​

AutomationControlType

Remarks​

Gets the type of the element.

WindowsUIA_ControlTypePropertyId
macOSNSAccessibilityProtocol.accessibilityRole

See Also​

Reference​

AutomationPeer Class
Avalonia.Automation.Peers Namespace