I am using one TreeListView in my WPF application. One of my column is binded with decimal values. So when I edit a cell and enter any invalid value like a string then the cell is getting Red border automatically and does not allow me to lost focus. I want some more validations that should be done on a cell like the following
• Value can have up to one decimal (example: 10.1)
• Allow only numeric values (0 - 9)
• Value entered cannot be > 1000
If the above condition fails then the red border should come. By default the second constion is working fine. Please help me how I will be able to work out the first and last conition.
• Value can have up to one decimal (example: 10.1)
• Allow only numeric values (0 - 9)
• Value entered cannot be > 1000
If the above condition fails then the red border should come. By default the second constion is working fine. Please help me how I will be able to work out the first and last conition.