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)
- C#
- VB
- F#
public AutomationLandmarkType? GetLandmarkType()
Public Function GetLandmarkType As AutomationLandmarkType?
member GetLandmarkType : unit -> Nullable<AutomationLandmarkType>
Return Value
Nullable(AutomationLandmarkType)
Remarks
Gets the type of the element.
| Windows | UIA_LandmarkTypePropertyId, UIA_LocalizedLandmarkTypePropertyId |
| macOS | NSAccessibilityProtocol.accessibilityRole, NSAccessibilityProtocol.accessibilitySubrole |