I managed to reproduce the error and I have logged the issue on our feedback portal
, here: FIX. RadPropertyGrid - unhandled exception in the control if you try to create a Font object with a negative size
. I have also updated your Telerik points
for the report. Additionally, you can subscribe to the item and be updated when its status changes.
As a possible workaround, I can suggest handling the EditorInitialized
of the control and set a minimum value to the spin editor:
sender, PropertyGridItemEditorInitializedEventArgs e)
PropertyGridSpinEditor editor = e.Editor
&& e.Item.Parent !=
&& e.Item.Parent.Name ==
&& e.Item.Name ==
editor.MinValue = 1;
I hope this helps. Let me know if you need further assistance.