TcxFilterCriteria.Assign(TPersistent,Boolean) Method
Copies the Source filter condition to the current TcxFilterCriteria object.
Declaration
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