protected override bool ValidateFinalString(string value) { return(TextField.NumericMode == ValidationType.Decimal ? NumericTextField.ValidateDecimal(value, TextField.AllowNegativeValues) : NumericTextField.ValidateInteger(value, TextField.AllowNegativeValues)); }