Tag: Validation
DataAnnotations Validation Attributes in Windows Forms
In this post, I’ll show how to use Data Annotation Validation attributes to perform validation in a Windows Forms Application. Data Annotation Validation attributes enable you to perform model validation simply by decorating class properties with validation attributes…
Read More »Prevent raising of Validating event of focused control when Closing the form
When you have an event handler for Validating event of a control, if the value of AutoValidate property of the form is set to anything different from Disabled, then Validating event will fire when you try to close…
Read More »