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

TcxFilterCriteria.Assign(TPersistent,Boolean) Method

Copies the Source filter condition to the current TcxFilterCriteria object.

#Declaration

Delphi
procedure Assign(Source: TPersistent; AIgnoreItemNames: Boolean = False); reintroduce; virtual;

#Parameters

Name Type
Source TPersistent
AIgnoreItemNames Boolean

#Remarks

By default, a filter condition is stored in a memory stream along with the unique identifier and name assigned to the item, which this filter condition is based on. This prohibits you from applying filter criteria to data provided by another data controller (via the destination data controller’s Assign method).

To override the default behavior, do one of the following:

  • Pass True as the AIgnoreItemNames parameter;

  • Before calling the Assign method, set the destination data controller’s Filter.StoreItemLinkNames property to False.

See Also