共用方式為


Task.CommandBindings 屬性

取得工作的 CommandBindingCollection

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

語法

'宣告
Public ReadOnly Property CommandBindings As CommandBindingCollection
    Get
public CommandBindingCollection CommandBindings { get; }
public:
property CommandBindingCollection^ CommandBindings {
    CommandBindingCollection^ get ();
}
member CommandBindings : CommandBindingCollection
function get CommandBindings () : CommandBindingCollection

屬性值

型別:System.Windows.Input.CommandBindingCollection
CommandBindingCollection 執行個體,包含這個工作的命令繫結。

備註

CommandBindingCollection 會將路由命令繫結至實作。

.NET Framework 安全性

請參閱

參考

Task 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

工具架構

WPF 設計工具擴充性