[]
        
(Showing Draft Content)

C1.Win.Input.Validation.ValueInterval

ValueInterval Class

An interval in a collection of intervals of possible values used in post-validation.

Inheritance
ValueInterval
Namespace: C1.Win.Input.Validation
Assembly: C1.Win.Input.8.dll
Syntax
[TypeConverter(typeof(ValueIntervalConverter))]
public class ValueInterval : ICloneable, ISerializable

Constructors

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.

Properties

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.

Methods

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.