开发者

Two commands for one button

I have a button on a View. The command for this button should should bind two ICommands. One is in the ViewModel which does the saving. The other ICommand is in the code behind of the view and does some animation stuff.

I'm able to call either of this two c开发者_如何学Pythonommands with the binding in the View. But how can I call both commands in a row with just one click on the button? Thanks for help.


Create a third ICommand, which is bound to the button and invokes the other two commands.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜