Skip to main content
.NET 6.0+

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.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public CriteriaOperator FixedFilterCriteria { get; set; }

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:

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.

See Also