Skip to main content
.NET Framework 4.5.2+

XPInstantFeedbackSource.FixedFilterString Property

Specifies a string representation of an expression used to filter objects on the data store side. This filter is never affected by bound data-aware controls.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[Browsable(false)]
[DefaultValue("")]
public string FixedFilterString { get; set; }

Property Value

Type Default Description
String String.Empty

A string specifying the filter expression applied to data on the data store side.

Remarks

To learn how to create filter expressions, refer to the Criteria Language Syntax help topic.

You can also specify filter criteria via the XPInstantFeedbackSource.FixedFilterCriteria property, which accepts criteria in the form of a CriteriaOperator object. The FixedFilterString and FixedFilterCriteria 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 doesn’t modify the FixedFilterString property, and vice versa.

Note

Assign the FixedFilterString property before binding the XPInstantFeedbackSource to the GridControl or SearchLookUpEdit. Once bound, changing this property throws an exception.

See Also