Share via


ModelItem.Context 屬性

取得包含內容資訊的物件,這些內容與專為設計工具建立的 ModelItem 相關。

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

語法

'宣告
Public MustOverride ReadOnly Property Context As EditingContext
    Get
public abstract EditingContext Context { get; }
public:
virtual property EditingContext^ Context {
    EditingContext^ get () abstract;
}
abstract Context : EditingContext
abstract function get Context () : EditingContext

屬性值

型別:Microsoft.Windows.Design.EditingContext
物件,包含關於相關設計工具的內容資訊。

.NET Framework 安全性

請參閱

參考

ModelItem 類別

Microsoft.Windows.Design.Model 命名空間

其他資源

WPF 設計工具擴充性架構

編輯模型架構