Click or drag to resize
ITextValidator Class
A class that validates text input to make sure its valid. These classes can be added to any TextInput to limit the type of input the user can enter. Note: this cannot be an interface due to serialization.
Inheritance Hierarchy

Namespace:  GeonBit.UI.Entities.TextValidators
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class ITextValidator

The ITextValidator type exposes the following members.

Constructors
  NameDescription
Public methodITextValidator
Initializes a new instance of the ITextValidator class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateText
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.
Top
See Also