Class NumericalRangeValidatorAttribute
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.Common.DataAnnotations
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class NumericalRangeValidatorAttribute : ValidatorBaseAttribute, IPropertyValidator, INumericalRange
Constructors
NumericalRangeValidatorAttribute(Double, Double)
Declaration
public NumericalRangeValidatorAttribute(double min, double max)
Parameters
System.Double
min
|
System.Double
max
|
NumericalRangeValidatorAttribute(Double, Double, Double)
Declaration
public NumericalRangeValidatorAttribute(double min, double max, double step)
Parameters
System.Double
min
|
System.Double
max
|
System.Double
step
|
NumericalRangeValidatorAttribute(Double, Double, Double, String, String)
Declaration
public NumericalRangeValidatorAttribute(double min, double max, double step, string negativeFeedback, string positiveFeedback = null)
Parameters
System.Double
min
|
System.Double
max
|
System.Double
step
|
System.String
negativeFeedback
|
System.String
positiveFeedback
|
NumericalRangeValidatorAttribute(Double, Double, String, String)
Declaration
public NumericalRangeValidatorAttribute(double min, double max, string negativeFeedback, string positiveFeedback = null)
Parameters
System.Double
min
|
System.Double
max
|
System.String
negativeFeedback
|
System.String
positiveFeedback
|
Properties
Max
Declaration
public double Max { get; protected set; }
Property Value
System.Double
|
Implements
Min
Declaration
public double Min { get; protected set; }
Property Value
System.Double
|
Implements
Step
Declaration
public double Step { get; protected set; }
Property Value
System.Double
|
Implements
Methods
ValidateCore(Object)
Declaration
protected override bool ValidateCore(object value)
Parameters
System.Object
value
|
Returns
System.Boolean
|