The FOrmatControl validates the edited text and pushes the resultant object into the Value property. If the text is invalid, an exception is thrown and the focus returns to this control.
[Visual Basic] Overrides Protected Sub OnValidating( _ ByVal e As EventArgs _ ) [C#] protected override void OnValidating( EventArgs e ); [C++] protected: override void OnValidating( EventArgs* e ); [JScript] protected override function OnValidating( e : EventArgs );
FormatControl Class | FormatControl Members | System.WinForms Namespace