阅读背景:

我可以在同一个控件上为同一个命令设置多个命令绑定吗?

来源:互联网 

I have a UserControl that adds a CommandBinding to it's CommandBindings collection to handle a specific Command. Later I use this control in a window and want to add another binding to that same control to add additional behavior. The problem though, is that when I do this it seems that when I add another CommandBinding to the CommandBindings collection of a control that it replaces any binding that was already made for the same Command. So what it seems like is that a control can only have a single CommandBinding per control, is this correct?I have a UserControl that adds a CommandBinding




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: