AutomationProperties.SetLandmarkType(DependencyObject, AutomationLandmarkType) AutomationProperties.SetLandmarkType(DependencyObject, AutomationLandmarkType) AutomationProperties.SetLandmarkType(DependencyObject, AutomationLandmarkType) AutomationProperties.SetLandmarkType(DependencyObject, AutomationLandmarkType) Method

Definition

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

public : static void SetLandmarkType(DependencyObject element, AutomationLandmarkType value)
static void SetLandmarkType(DependencyObject element, AutomationLandmarkType value) const;
public static void SetLandmarkType(DependencyObject element, AutomationLandmarkType value)
Public Shared Sub SetLandmarkType(element As DependencyObject, value As AutomationLandmarkType)

Parameters

value
AutomationLandmarkType AutomationLandmarkType

The value of the landmark type property.

Additional features and requirements

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