Is there any way I can limit the user’s ability to activate a record by forcing them to click on the record selector? I still need them to be able to click a check box on the row, but don’t want the record to activate when they do.
Thanks
Dan
Hello Dan,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
The thing you can do is retemplating the CellVAluePresenter and handle the PreviewMouseLeftButtonDown event in order to stop the bubbling of the event. I created a sample project for you which you can use as basis for any further implementations. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Yes, the check box is in a cell. So if I understand you correctly, there is no way if the user clicks on a control within a cell to avoid the row from being activated.
Thank you for your post. I have been looking into it and I can say that if your checkbox is in a Cell, you are not able to click it and don’t activate the record, because by clicking it you activate the cell, which activates the Record. Please let me know if this is your scenario or I have misunderstood you.