Skip to main content

GetLandmarkType Method

Helper for reading the value of the LandmarkTypeProperty on a StyledElement.

Definition​

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

public static AutomationLandmarkType? GetLandmarkType(
StyledElement element
)

Parameters​

  StyledElement
 

Return Value​

Nullable(AutomationLandmarkType)

See Also​

Reference​

AutomationProperties Class
Avalonia.Automation Namespace