Click or drag to resize
TextValidatorNumbersOnly Class
Make sure input is numeric and optionally validate min / max values.
Inheritance Hierarchy
SystemObject
  GeonBit.UI.Entities.TextValidatorsITextValidator
    GeonBit.UI.Entities.TextValidatorsTextValidatorNumbersOnly

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

The TextValidatorNumbersOnly type exposes the following members.

Constructors
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
Return true if text input is a valid number.
(Overrides ITextValidatorValidateText(String, String).)
Top
Fields
  NameDescription
Public fieldAllowDecimalPoint
Do we allow decimal point?
Public fieldMax
Optional max value.
Public fieldMin
Optional min value.
Top
See Also