Skip to main content

GetLandmarkType 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 AutomationLandmarkType? GetLandmarkType()

Return Value

Nullable(AutomationLandmarkType)

Remarks

Gets the type of the element.

WindowsUIA_LandmarkTypePropertyId, UIA_LocalizedLandmarkTypePropertyId
macOSNSAccessibilityProtocol.accessibilityRole, NSAccessibilityProtocol.accessibilitySubrole

See Also

Reference

AutomationPeer Class
Avalonia.Automation.Peers Namespace