Skip to main content
All docs
V18.2

FilterCondition(FilterConditionEnum, TreeListColumn, Object, Object, Boolean) Constructor

Initializes a new instance of the FilterCondition class with the specified column, comparison operator, and condition values.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v18.2.dll

Declaration

public FilterCondition(
    FilterConditionEnum condition,
    TreeListColumn column,
    object val1,
    object val2,
    bool visible
)

Parameters

Name Type Description
condition DevExpress.XtraTreeList.FilterConditionEnum

A FilterConditionEnum value that specifies the comparison operator. This value is assigned to the FilterConditionBase.Condition property.

column TreeListColumn

The TreeListColumn object to which the condition is applied. This value is assigned to the FilterCondition.Column property.

val1 Object

The first value that is used to create the filter condition. This value is assigned to the FilterConditionBase.Value1 property.

val2 Object

The second value that is used to create the filter condition. This value is assigned to the FilterConditionBase.Value2 property.

visible Boolean

A Boolean value that specifies whether nodes that match the created condition must remain visible or be hidden. This value is assigned to the FilterCondition.Visible property.

See Also