Hi,
Is there an elegant way of forcing row validation failure while editing a GridView Cell, and BEFORE databinding takes place?
I have a decimal property bound on an object that is databound to an editable grid column, and I would like row validation to kick in immediately if the value in the cell (which is in edit mode) is not a valid decimal OR if the object bound to the row is not in a valid state.
I specifically want to use Row validation because cell validation only highlights the cell, whist row validation is more prominent because the whole line is highlighted in red as well as there is an exclamation mark on the left of the grid row being validated.
Do you have a good example of validation in a WPF RadGridView that uses MVVM? If there are please let me know.
Thanks for your help.
Is there an elegant way of forcing row validation failure while editing a GridView Cell, and BEFORE databinding takes place?
I have a decimal property bound on an object that is databound to an editable grid column, and I would like row validation to kick in immediately if the value in the cell (which is in edit mode) is not a valid decimal OR if the object bound to the row is not in a valid state.
I specifically want to use Row validation because cell validation only highlights the cell, whist row validation is more prominent because the whole line is highlighted in red as well as there is an exclamation mark on the left of the grid row being validated.
Do you have a good example of validation in a WPF RadGridView that uses MVVM? If there are please let me know.
Thanks for your help.