AutomationPeerGetAutomationControlType Method
Gets the control type for the element that is associated with the UI Automation peer.
Namespace: Avalonia.Automation.PeersAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public AutomationControlType GetAutomationControlType()
Public Function GetAutomationControlType As AutomationControlType
member GetAutomationControlType : unit -> AutomationControlType
Return Value
AutomationControlType
Gets the type of the element.
| Windows | UIA_ControlTypePropertyId |
| macOS | NSAccessibilityProtocol.accessibilityRole |