NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

UpDownBase.ValidateEditText

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();

Remarks

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.

See Also

UpDownBase Class | UpDownBase Members | System.WinForms Namespace | UserEdit | Text