开发者

wpf mvvm datagrid selectedrow

开发者 https://www.devze.com 2023-01-02 20:41 出处:网络
after some google around, I just figured out that there is no one that is using 100% MvvM pattern to get the ToolKit DataGrid events !

after some google around, I just figured out that there is no one that is using 100% MvvM pattern to get the ToolKit DataGrid events !

Is that impossible or what ? I see too much people using the code-b开发者_StackOverflow社区ehind...

How can I get the SelectedRow or dblClick events using mvvm ?

cheers


Create an attached property of type ICommand. When the property value changes, hook/unhook the click event handler in which you can execute the command.

0

精彩评论

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