Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomFilterControl Class

The base class for filter controls.

#Declaration

Delphi
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