[]
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) | Initializes a new instance of the ValueInterval class. |
ValueInterval(SerializationInfo, StreamingContext) | Initializes a new instance of the ValueInterval class. |
Name | Description |
---|---|
DataType | Gets or sets the type of lower and upper bounds (taken from the control’s DataType). |
IncludeMax | Gets or sets a value indicating whether the upper bound is included. |
IncludeMin | Gets or sets a value indicating whether the lower bound is included. |
MaxValue | Gets or sets the upper bound. |
MinValue | Gets or sets the lower bound. |
UseMaxValue | Gets or sets a value indicating whether to use the MaxValue property or whether the upper bound is positive infinity. |
UseMinValue | Gets or sets a value indicating whether to use the MinValue property or whether the lower bound is negative infinity. |
Name | Description |
---|---|
ResetMaxValue() | Restores the default value of the MaxValue property. |
ResetMinValue() | Restores the default value of the CaseSensitive property. |
ShouldSerializeMaxValue() | Specifies whether to save the value of the MaxValue property. |
ShouldSerializeMinValue() | Specifies whether to save the value of the MinValue property. |