direct action when checkbox in view is checked, without having to click elsewhere

Jan 8, 2014 at 9:32 AM
There is a case where I am displaying a GridControl where the viewmodel of each row in the grid has got a boolean property (among others). This property is displayed in the GridControl as a checkbox.

I want to update another view in the window right after the user selects or deselects that checkbox, but that does not seem to work. I have put some code in the property setter that would update the view but this is only executed after the user clicks outside of the GridControl's row. So it takes 2 steps to execute the setter:

1: Select or deselect the checkbox
2: Click to select another row in the gridcontrol

Can I have the setter executed right after step 1?

I can imagine it has got something to do with the Simple MVVM Tooklkit behavior that when a viewmodel is in its "editing" state, it is cloned and only when the "editing" state is ended, the properties are set to the new values.

I'd appreciate any insights on this.
Jan 8, 2014 at 9:55 AM
Never mind, I found that a solution lies in the WPF Grid Control :)