Create(TcxFilterCriteriaItemList,TObject,TcxFilterOperatorKind,Variant,string) Constructor
Creates a simple filter condition in a specific filter criteria list.
Declaration
constructor Create(AOwner: TcxFilterCriteriaItemList; AItemLink: TObject; AOperatorKind: TcxFilterOperatorKind; const AValue: Variant; const ADisplayValue: string); virtual;
Parameters
Name | Type |
---|---|
AOwner | TcxFilterCriteriaItemList |
AItemLink | TObject |
AOperatorKind | TcxFilterOperatorKind |
AValue | Variant |
ADisplayValue | string |
Remarks
The constructor creates a simple filter condition and inserts it into the filter criteria list specified by the AOwner argument. The AItemLink parameter specifies the item for which this filter condition is applied. To identify an item you can use an object of the TcxGridColumn class. Other arguments are used to initialize TcxFilterCriteriaItem properties: AOperatorKind specifies the operator for a filter condition, AValue represents the value with which to compare, ADisplayValue defines the text representation of the AValue parameter.
See Also