共用方式為


TaskProvider.Context 屬性

取得當初啟動這個工作提供者的編輯內容。

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

語法

'宣告
Protected ReadOnly Property Context As EditingContext
    Get
protected EditingContext Context { get; }
protected:
property EditingContext^ Context {
    EditingContext^ get ();
}
member Context : EditingContext
function get Context () : EditingContext

屬性值

型別:Microsoft.Windows.Design.EditingContext
EditingContext 物件,表示當初啟動目前工作提供者的物件。

備註

這個屬性只有在已經啟動工作提供者之後才能使用。

.NET Framework 安全性

請參閱

參考

TaskProvider 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

了解 WPF 設計工具擴充性