TcxFilterCriteria.FilterText Property
Returns filter criteria (as an expression string).
Declaration
property FilterText: string read; write;
Property Value
| Type | Description |
|---|---|
| string | The current filter criteria string. |
Remarks
Use the FilterText or FilterCaption property to return filter criteria as an expression string or display text, respectively.
Tip
The FilterText property does not allow you to assign an expression string as a new filter criteria set.
To define filter criteria, use AddItem, AddExpressionItem, Root, and other related API members.
Filter Expression Examples
| Property | Value |
|---|---|
FilterText |
'(State = 'CA') AND (PurchaseDate = '01-Mar-1976')' |
| FilterCaption[1] | '(State = CA) AND (PurchaseDate = 01-Mar-1976)' |
| FilterCaption[2] | '(State Equals CA) AND (PurchaseDate Equals 01-Mar-1976)' |
Footnotes
-
The Options property is set to
[](default). -
The Options property value includes the fcoShowOperatorDescription flag.
See Also