共用方式為


EditingContext.CreateContextItemManager 方法

更新:2007 年 11 月

會建立要從 Items 屬性傳回之內容項目管理員的執行個體。

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

語法

Protected Overridable Function CreateContextItemManager As ContextItemManager

Dim returnValue As ContextItemManager

returnValue = Me.CreateContextItemManager()
protected virtual ContextItemManager CreateContextItemManager()
protected:
virtual ContextItemManager^ CreateContextItemManager()
protected function CreateContextItemManager() : ContextItemManager

傳回值

型別:Microsoft.Windows.Design.ContextItemManager

ContextItemManager 類別的實作。

備註

預設實作會透過 SubscribeContextCallback<ContextItemType> 的宣告,建立支援延後啟動設計編輯管理員的 ContextItemManager

使用權限

請參閱

參考

EditingContext 類別

EditingContext 成員

Microsoft.Windows.Design 命名空間

ServiceManager

ContextItemManager

ContextItem

FeatureManager

其他資源

編輯內容架構

了解 WPF 設計工具擴充性