ComponentOne FlexGrid for WinForms
ConditionFilter Class
Members  Example 

C1.Win.C1FlexGrid Namespace : ConditionFilter Class
Represents a filter based on one or two logical conditions.
Object Model
ConditionFilter ClassCondition ClassCondition Class
Syntax
'Declaration
 
Public Class ConditionFilter 
   Implements IC1ColumnFilter 
public class ConditionFilter : IC1ColumnFilter  
Remarks
Example
//Condition Filter(Filters products whose UnitPrice >= 50 and <= 100)
ConditionFilter conditionFilter = new ConditionFilter();
conditionFilter.Condition1.Parameter = 50;
conditionFilter.Condition1.Operator = ConditionOperator.GreaterThanOrEqualTo;
conditionFilter.Condition2.Parameter = 100;
conditionFilter.Condition2.Operator = ConditionOperator.LessThanOrEqualTo;
conditionFilter.AndConditions = true;
_flex.Cols["UnitPrice"].Filter = conditionFilter;
Inheritance Hierarchy

System.Object
   C1.Win.C1FlexGrid.ConditionFilter

See Also

Reference

ConditionFilter Members
C1.Win.C1FlexGrid Namespace