GeonBit.UI Documentation
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)

C#
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: BooleanIf TextInput value is legal.
