Skip to main content

Create(TcxFilterCriteria) Constructor

Creates an instance of the TcxFilterValueList object.

Declaration

constructor Create(ACriteria: TcxFilterCriteria); virtual;

Parameters

Name Type
ACriteria TcxFilterCriteria

Remarks

The constructor creates a new list of filter condition values for the specified filter criteria. After the list is created it does not contain any elements. The ACriteria parameter specifies the filter criteria, which will be changed when a user selects an element from the current list.

TcxDataFilterValueList, (a TcxFilterValueList descendant) provides the Load method, which is called to populate the dropdown list with elements prior to displaying it. The TcxFilterCriteria.MaxValueListCount property value specifies the number of elements to be added by the Load method.

See Also