Click or drag to resize
ITextValidatorValidateText Method
Get the new text input value and return true if valid. This function can either return false to scrap input changes, or change the text and return true.

Namespace:  GeonBit.UI.Entities.TextValidators
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual bool ValidateText(
	ref string text,
	string oldText
)

Parameters

text
Type: SystemString
New text input value.
oldText
Type: SystemString
Previous text input value.

Return Value

Type: Boolean
If TextInput value is legal.
See Also