[]
        
(Showing Draft Content)

FarPoint.Win.Spread.RangeValidator

RangeValidator Class

Represents a special BaseDataValidator that validates whether the specified value is between the range specified by
MinValue and MaxValue.

Inheritance
RangeValidator
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
[ToolboxBitmap(typeof(FpSpread), "RangeValidator.png")]
[TypeConverter(typeof(RangeValidator._a))]
public class RangeValidator : BaseDataValidator, ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
<ToolboxBitmap(GetType(FpSpread), "RangeValidator.png")>
<TypeConverter(GetType(RangeValidator._a))>
Public Class RangeValidator
    Inherits BaseDataValidator
    Implements ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject

Constructors

Name Description
RangeValidator()

Represents the default empty constructor.

RangeValidator(SerializationInfo, StreamingContext)

Initializes a new instance of this class.

Properties

Name Description
FormatProvider

Gets or sets the format provider.

MaxValue

Gets or sets the upper limit of the specified value.

MinValue

Gets or sets the lower limit of the specified value.

NullIsValid

Gets or sets a value that indicates whether the validation always succeeds when the specified value is null.

ParsingEnabled

Gets or sets a value indicating whether to use the Parse method.

RequiredType

Gets or sets the specified value's required Type.

Methods

Name Description
Clone(ConditionalObject, FormulaEngine, FormulaEngine)

Create a clone of current object

Deserialize(XmlNodeReader)

Loads the object from XML.

GetObjectData(SerializationInfo, StreamingContext)

Gets the object data.

Serialize(XmlTextWriter)

Saves the object to XML.

Validate(ValidateActionContext)

va