[]
        
(Showing Draft Content)

C1.Win.FlexGrid.Condition

Condition Class

Represents a condition within a ConditionFilter.

Inheritance
Condition
Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
public class Condition
Remarks

Each ConditionFilter contains several conditions that can be combined with 'And' or 'Or' operators.

Constructors

Name Description
Condition(ConditionFilter)

Creates a new instance of Condition with default Parameter, Operator and IsAnd properties values attached to the given ConditionFilter.

Condition(ConditionFilter, Condition)

Creates a new instance of Condition attached to the given ConditionFilter with Parameter, Operator and IsAnd properties defined by the given Condition.

Condition(ConditionFilter, ConditionOperator, object, bool)

Creates a new instance of Condition with given Parameter, Operator and IsAnd properties values attached to the given ConditionFilter.

Properties

Name Description
IsActive

Gets a value that indicates whether the condition is active.

IsAnd

Gets or sets a value that specifies how the condition is combined with other conditions.

IsCellBased

Gets a value that indicates whether the condition is one of IsBlank, IsDistinct, IsDuplicate, IsUnique

Operator

Gets or sets the operator used by this condition.

Parameter

Gets or sets the parameter used by this condition.

Methods

Name Description
Apply(object)

Applies the condition to a given value.

Clear()

Clears this condition by setting the Operator to 'None', the Parameter to null