Share via


AutomationProperties.GetAccessibilityView(DependencyObject) Method

Definition

Gets the value of the AutomationProperties.AccessibilityView attached property for the specified DependencyObject.

public:
 static AccessibilityView GetAccessibilityView(DependencyObject ^ element);
 static AccessibilityView GetAccessibilityView(DependencyObject const& element);
public static AccessibilityView GetAccessibilityView(DependencyObject element);
function getAccessibilityView(element)
Public Shared Function GetAccessibilityView (element As DependencyObject) As AccessibilityView

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

The accessibility view setting, as a value of the enumeration.

Applies to