共用方式為


AutomationProperties.SetAccessibilityView 方法

定義

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

要設定的列舉值。

適用於