How do I select a record on right click?
I am also looking for same thing but how can it be done without code behind in MVVM pattern?
Can we have the same event to fired via ViewModel.
Something similar to EventToCommand ? can you give me syntax on it or sample?
It worked when I added the style to the datagrid resource. Thanks for the quick answer.
<igDP:XamDataGrid.Resources> <Style TargetType="{x:Type igDP:DataRecordPresenter}"> <EventSetter Event="MouseRightButtonDown" Handler="DataRecordPresenter_MouseRightButtonDown" /> </Style></igDP:XamDataGrid.Resources>
Thanks but for some reason, I am not getting this event fired. Should there be another line of code to add this style to the datagrid?