AutomationProperties.AnnotationsProperty 屬性

定義

識別 AutomationProperties.Annotations 附加屬性。

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

屬性值

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

備註

注意

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

適用於

另請參閱