[]
        
(Showing Draft Content)

FarPoint.Win.Spread.ExcludeListValidator

ExcludeListValidator Class

Represents a special BaseDataValidator that validates whether the specified value does not exist in the given Candidates list.

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

You can set a pre-defined string array to the Candidates property. If the cell value does not exist in the array, the validation succeeds.

Constructors

Name Description
ExcludeListValidator()

Represents the default empty constructor.

ExcludeListValidator(SerializationInfo, StreamingContext)

Initializes a new instance of this class.

Properties

Name Description
Candidates

Gets or sets a string array that indicates the specified value that is excluded in the candidate strings.

Methods

Name Description
Clone(ConditionalObject, FormulaEngine, FormulaEngine)

Creates an exact copy of the current ExcludeListValidator.

Deserialize(XmlNodeReader)

Loads the object from XML.

GetObjectData(SerializationInfo, StreamingContext)

Gets the object data.

Serialize(XmlTextWriter)

Saves the object to XML.

Validate(ValidateActionContext)

Validates whether the specified value does not exist in the given Candidates list.