Class RangeFloatNumberValidationSettings
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 float number properties ensuring that the value is within a specific range.
Inheritance
System.Object
RangeFloatNumberValidationSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Validation
Assembly: EPiServer.dll
Version: 11.20.7Syntax
[PropertyValidationSettings("Range", typeof(PropertyFloatNumber))]
public class RangeFloatNumberValidationSettings : PropertyValidationSettingsBase, IPropertyValidationSettings, IPropertySettings
Constructors
RangeFloatNumberValidationSettings()
Declaration
public RangeFloatNumberValidationSettings()
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 double? Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Remarks
This value is inclusive.
Minimum
The minimum allowed value of the property.
Declaration
public double? Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Remarks
This value is inclusive.