Skip to main content

TcxFilterValueList.Add(TcxFilterValueItemKind,Variant,string,Boolean) Method

Adds a new filter item to the list.

Declaration

procedure Add(AKind: TcxFilterValueItemKind; const AValue: Variant; const ADisplayText: string; ANoSorting: Boolean); overload; virtual;

Parameters

Name Type Description
AKind TcxFilterValueItemKind

The created filter item’s type.

AValue Variant

The created filter item’s value.

ADisplayText string

The created filter item’s display text.

ANoSorting Boolean

If True, the newly created filter item is appended to the list. If False, the item is inserted according to the current sort order. You can set the SortByDisplayText property to True to sort filter items by display text rather than values.

See Also