Hello,
is there a way to validate the input into a property grid like in a XamNumericEditor etc.?
I have an int32 property and would like to allow only a specific range from 1 upto 100.
Please advice
Thanks
Niko
Hello Nikolaus,
Thank you for contacting . Yes you can provide value validation when CellEditing event occur.
Youi can refer to this online help document explaining in detain and provided sample code for that :
https://es.infragistics.com/help/wpf/xampivotgrid-editingdatacells#ValueValidation
the provided link is about the xampivotgrid - I am talking about XamPropertyGrid. I could not find the CellEditing event there.
Hello Niko,
I set up a sample to explain on the XamPropertyGrid, how can you set DataErrorValidationRule and also error .
Please refer the attached sample and let me know if you need further assistance.
PropertyGridSample_validation (2).zip