XPInstantFeedbackSource.FixedFilterCriteria Property
Specifies the criteria used to filter objects on the data store side. These criteria are never affected by bound data-aware controls.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
CriteriaOperator | A CriteriaOperator object specifying the filter expression applied to data on the data store side. |
Remarks
To filter data via the FixedFilterCriteria property, create a CriteriaOperator object and assign it to the property.
For examples and additional information about filter expressions, see these help topics:
- How to: Build Simple Criteria
- How to: Build Complex Criteria
- Build Criteria - Cheat Sheet
- Filtering
- Criteria Language Syntax
You can also specify a string representation of the filter criteria via the XPInstantFeedbackSource.FixedFilterString property. The FixedFilterCriteria and FixedFilterString properties are synchronized. When a filter expression is assigned to the FixedFilterString property, an equivalent CriteriaOperator is created and assigned to the FixedFilterCriteria property. When a CriteriaOperator is assigned to the FixedFilterCriteria property, the FixedFilterString property is modified accordingly.
A data-aware control bound to an XPInstantFeedbackSource can provide its own filtering. Changing the filter via the data-aware control does not modify the FixedFilterCriteria property and vice versa.
Note
Assign the FixedFilterCriteria property before binding the XPInstantFeedbackSource to the GridControl or SearchLookUpEdit. Once bound, changing this property throws an exception.