Class DateRangeValidatorAttribute
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.Common.DataAnnotations
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class DateRangeValidatorAttribute : ValidatorBaseAttribute, IPropertyValidator, IDateRange
Constructors
DateRangeValidatorAttribute(Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
public DateRangeValidatorAttribute(int minYear, int minMonth, int minDay, int maxYear, int maxMonth, int maxDay)
Parameters
System.Int32
minYear
|
System.Int32
minMonth
|
System.Int32
minDay
|
System.Int32
maxYear
|
System.Int32
maxMonth
|
System.Int32
maxDay
|
DateRangeValidatorAttribute(Int32, Int32, Int32, Int32, Int32, Int32, String, String)
Declaration
public DateRangeValidatorAttribute(int minYear, int minMonth, int minDay, int maxYear, int maxMonth, int maxDay, string negativeFeedback, string positiveFeedback = null)
Parameters
System.Int32
minYear
|
System.Int32
minMonth
|
System.Int32
minDay
|
System.Int32
maxYear
|
System.Int32
maxMonth
|
System.Int32
maxDay
|
System.String
negativeFeedback
|
System.String
positiveFeedback
|
Properties
MaxDate
Declaration
public DateTime MaxDate { get; protected set; }
Property Value
System.DateTime
|
Implements
MinDate
Declaration
public DateTime MinDate { get; protected set; }
Property Value
System.DateTime
|
Implements
Methods
ValidateCore(Object)
Declaration
protected override bool ValidateCore(object value)
Parameters
System.Object
value
|
Returns
System.Boolean
|