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 const& element);
public static AutomationLandmarkType GetLandmarkType(DependencyObject element);
function getLandmarkType(element)
Public Shared Function GetLandmarkType (element As DependencyObject) As AutomationLandmarkType

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

The landmark type of the element

Applies to