Hi, I could not find any functionality in Eto Forms to duplicate the ErrorProvider class in .NET, so I was wondering if anyone had suggestions or thoughts on input validation and marking invalid input boxes in Eto Forms? Thanks!
@curtisw, can you help here?
There’s unfortunately no built-in functionality in Eto.Forms that correlates to Windows Forms’ ErrorProvider.
What I’ve done previously (and this was done for the Validation dialog in MacRhino), is to use a simple mechanism to validate the form, setting the background of the control to indicate it is invalid. I’ve created a (cleaned up) version of that you can use here.
This can be extended to do more, but should hopefully help you do what you need.