AutomationProperties.SetAccessibilityView Method

Definition

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

public:
 static void SetAccessibilityView(DependencyObject ^ element, AccessibilityView value);
 static void SetAccessibilityView(DependencyObject const& element, AccessibilityView const& value);
public static void SetAccessibilityView(DependencyObject element, AccessibilityView value);
function setAccessibilityView(element, value)
Public Shared Sub SetAccessibilityView (element As DependencyObject, value As AccessibilityView)

Parameters

element
DependencyObject

The DependencyObject to set the attached property on.

value
AccessibilityView

The enumeration value to set.

Applies to

See also