Class RangeDateValidationSettings
NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Settings for configuring validation of date properties ensuring that the value is inside a specific range.
Inheritance
System.Object
RangeDateValidationSettings
Inherited Members
Namespace: EPiServer.Validation
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[PropertyValidationSettings]
public class RangeDateValidationSettings : PropertyValidationSettingsBase, IPropertyValidationSettings, IPropertySettings
Constructors
RangeDateValidationSettings()
Declaration
public RangeDateValidationSettings()
Fields
Name
The name defined for this type of validation
Declaration
public const string Name = "Range"
Field Value
Type | Description |
---|---|
System.String |
Properties
Maximum
The maximum allowed value of the property.
Declaration
public Nullable<DateTime> Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Remarks
This value is inclusive.
Minimum
The minimum allowed value of the property.
Declaration
public Nullable<DateTime> Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Remarks
This value is inclusive.