共用方式為


PropertyValue.Collection 屬性

更新:2007 年 11 月

在衍生類別中覆寫時,取得物件的 PropertyValueCollection,表示 PropertyValue 的值。

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design (在 Microsoft.Windows.Design.dll 中)

語法

Public MustOverride ReadOnly Property Collection As PropertyValueCollection

Dim instance As PropertyValue
Dim value As PropertyValueCollection

value = instance.Collection
public abstract PropertyValueCollection Collection { get; }
public:
virtual property PropertyValueCollection^ Collection {
    PropertyValueCollection^ get () abstract;
}
public abstract function get Collection () : PropertyValueCollection

屬性值

型別:Microsoft.Windows.Design.PropertyEditing.PropertyValueCollection

表示 PropertyValue 值的物件集合。

備註

如果 PropertyValue 的執行個體代表的值是一個集合,則此執行個體會使用 Collection 屬性以傳回 PropertyValueCollection。您可以使用 IsCollection 屬性,判斷 PropertyValue 是否表示做為集合的值。RowDefinitions 屬性就是一種其值是集合的屬性。

使用權限

請參閱

參考

PropertyValue 類別

PropertyValue 成員

Microsoft.Windows.Design.PropertyEditing 命名空間

PropertyEntry

PropertyValueEditor

其他資源

WPF 設計工具擴充性

屬性編輯架構