AutomationProperties.GetLandmarkType(DependencyObject) AutomationProperties.GetLandmarkType(DependencyObject) AutomationProperties.GetLandmarkType(DependencyObject) AutomationProperties.GetLandmarkType(DependencyObject) Method

Definition

Gets the value of the landmark type attached property for the specified DependencyObject.

public : static AutomationLandmarkType GetLandmarkType(DependencyObject element)
static AutomationLandmarkType GetLandmarkType(DependencyObject element) const;
public static AutomationLandmarkType GetLandmarkType(DependencyObject element)
Public Shared Function GetLandmarkType(element As DependencyObject) As AutomationLandmarkType

Parameters

Returns

The landmark type of the element

Additional features and requirements

Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)