AutomationProperties.SetAccessibilityView 方法

定义

为指定的 DependencyObject 设置 AutomationProperties.AccessibilityView 附加属性的值。

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)

参数

element
DependencyObject

要设置附加属性的 DependencyObject

value
AccessibilityView

要设置的枚举值。

适用于

另请参阅