Skip to main content

TcxCustomFilterControl Class

The base class for filter controls.

Declaration

TcxCustomFilterControl = class(
    TcxControl,
    IcxFormatControllerListener,
    IdxSkinSupport
)

Remarks

This class is the base class for filter controls (TcxFilterControl or TcxDBFilterControl) that allow end-users to build and apply filter criteria to their linked object:

The TcxCustomFilterControl class provides members that define the common functionality of filter controls. The Criteria property introduced in the TcxCustomFilterControl class represents the filter criteria specified by a filter control. The filter criteria contain a list of filter conditions. The FilterText property contains a string that describes the defined filter conditions. Filter conditions created in a filter control at runtime can be saved to and then loaded from either a specific file or stream using the SaveToFile, SaveToStream, LoadFromFile, and LoadFromStream methods.

You can specify font characteristics for different elements of a filter control by using the FontBoolOperator, FontCondition, FontItem, and FontValue properties.

Do not create instances of the TcxCustomFilterControl class. Use its descendants (TcxFilterControl or TcxDBFilterControl) instead.

See Also