共用方式為


ModelItemDictionary.KeyProperty 欄位

ModelItemDictionary 提供附加屬性 "Key",這個屬性會加入至字典包含的所有項目中。 Key 屬性的資料型別為 "ModelItem"。

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

語法

'宣告
Public Shared ReadOnly KeyProperty As PropertyIdentifier
public static readonly PropertyIdentifier KeyProperty
public:
static initonly PropertyIdentifier KeyProperty
static val KeyProperty: PropertyIdentifier
public static final var KeyProperty : PropertyIdentifier

.NET Framework 安全性

請參閱

參考

ModelItemDictionary 類別

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構