AutomationProperties.DescribedByProperty 屬性

定義

取得附加屬性所描述的識別碼,這是元素陣列,可提供自動化專案的詳細資訊。

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

屬性值

附加屬性所描述 的識別碼。

備註

當應用程式 UI 的另一個區段說明自動化專案時,會使用DescribedBy。 例如,屬性可以指向來自複雜自訂清單物件的 「2,529 個專案,85 個群組中的 10 個專案」 的文字元素。 DescribedBy屬性可以快速存取可能已經提供描述 UI 元素的實用使用者資訊,而不是使用物件模型來摘要類似的資訊。

適用於