[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.Condition.-ctor

Condition Constructor

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.

Declaration
public Condition(ConditionFilter filter, Condition condition)
Parameters
Type Name Description
ConditionFilter filter

The ConditionFilter this Condition belongs to.

Condition condition

The Condition from which the property values ​​are copied.

Condition(ConditionFilter)

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

Declaration
public Condition(ConditionFilter filter)
Parameters
Type Name Description
ConditionFilter filter

The ConditionFilter this Condition belongs to.

Condition(ConditionFilter, ConditionOperator, object, bool)

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

Declaration
public Condition(ConditionFilter filter, ConditionOperator conditionOperator = ConditionOperator.None, object parameter = null, bool chainWithAnd = true)
Parameters
Type Name Description
ConditionFilter filter

The ConditionFilter this Condition belongs to.

ConditionOperator conditionOperator

A ConditionOperator to set up the Operator value.

object parameter

An object to set up the Parameter value.

bool chainWithAnd

A bool parameter to set up the IsAnd value.

Remarks

A value set for Parameter will be ignored while applying the condition if ConditionOperator will be set to None or determine IsCellBased condition.

A value set for IsAnd is ignored for the first condition in the conditions chain.