AutomationProperties.DescribedByProperty 屬性

定義

識別 AutomationProperties.DescribedBy 附加屬性。

public:
 static property DependencyProperty ^ DescribedByProperty { DependencyProperty ^ get(); };
static DependencyProperty DescribedByProperty();
public static DependencyProperty DescribedByProperty { get; }
var dependencyProperty = AutomationProperties.describedByProperty;
Public Shared ReadOnly Property DescribedByProperty As DependencyProperty

屬性值

AutomationProperties.DescribedBy附加屬性的識別碼。

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

注意

AutomationProperties.DescribedBy 是非典型附加屬性,因為它沒有 Set 存取子,因此不是具有標記用法的 XAML 附加屬性。 它會使用附加屬性模型作為屬性存放區,但不支援可延伸的應用程式標記語言 (XAML) 用法。 若要取得專案的陣列,請呼叫 GetDescribedBy,傳遞專案做為輸入參數。

適用於