When overridden in a derived class, validates the text displayed in the up-down control.
[Visual Basic] Overridable Protected Sub ValidateEditText() [C#] protected virtual void ValidateEditText(); [C++] protected: virtual void ValidateEditText(); [JScript] protected function ValidateEditText();
Examples of validation may include comparing the text entered to data type set in your derived class, a comparing it to a list of values, or verifiy it to be within a range of values.
Notes to Inheritors: When overriding this method in a derived class, be sure to add code in this method to validate the text property of the up-down control. This method will be called if the UserEdit property is set to false when the Text property is set.
UpDownBase Class | UpDownBase Members | System.WinForms Namespace | UserEdit | Text