[]
An interval in a collection of intervals of possible values used in post-validation.
[TypeConverter(typeof(ValueIntervalConverter))]
public class ValueInterval : ICloneable, ISerializable
Name | Description |
---|---|
ValueInterval() | Initializes a new instance of the ValueInterval class. |
ValueInterval(object, object, bool, bool) | ValueInterval Constructor. |
ValueInterval(SerializationInfo, StreamingContext) | Initializes a new instance of the ValueInterval class. |
Name | Description |
---|---|
DataType | The type of lower and upper bounds (taken from the control’s DataType). |
IncludeMax | If True (default), the upper bound is included. |
IncludeMin | If True (default), the lower bound is included. |
MaxValue | Upper bound. |
MinValue | Lower bound. |
UseMaxValue | If False (default), the upper bound is positive infinity. |
UseMinValue | If False (default), the lower bound is negative infinity. |
Name | Description |
---|---|
ShouldSerializeMaxValue() | This method is for internal use only. |
ShouldSerializeMinValue() | This method is for internal use only. |