UI for WinForms
The Telerik’s WinForms Validation provider is a component designed to provide data validation management for editors in both bound and unbound mode, meaning it allows developers to create various validation rules and associate them with editors of the Telerik UI for WinForms. And all this, right from design time, without the need to write a single line of code.
Validating controls has never been easier. With the ValidationRule developers can have one validation expression to validate as many controls they need, without writing a single line of code. Quite useful, when compared to repeating the same code in the Validating event of each control.
The Telerik Validation provider for WinForms allows developers to easily define more complex validation logic by nesting multiple validation rules.
The Validation provider allows you to perform data validations in alignment with the value of other controls. This way, more complex validation logic based on user input can be achieved.
The Validation provider for WinForms has different validation modes which allow users to define when the validation is triggered, e.g. when the text is changed, on validating, or programmatically.
The Validation provider is equipped with a collection editor that provides rich design time experience for adding various types of validation rules and configuring all your validation needs right at design time.
In case of a validation failure, an error icon will be displayed next to the control with an error text message and a tooltip.