wpf mvvm datagrid selectedrow
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.
精彩评论