The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.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.v19.2.dll

Declaration

[TypeConverter("DevExpress.Xpo.Design.CriteriaEditor, DevExpress.Xpo.v19.2.Design, Version=19.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")]
public CriteriaOperator FixedFilterCriteria { get; set; }
<TypeConverter("DevExpress.Xpo.Design.CriteriaEditor, DevExpress.Xpo.v19.2.Design, Version=19.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")>
Public Property FixedFilterCriteria As CriteriaOperator
[TypeConverter("DevExpress.Xpo.Design.CriteriaEditor, DevExpress.Xpo.v19.2.Design, Version=19.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")]
public CriteriaOperator FixedFilterCriteria { get; set; }
<TypeConverter("DevExpress.Xpo.Design.CriteriaEditor, DevExpress.Xpo.v19.2.Design, Version=19.2.99.0, Culture=neutral, PublicKeyToken=c38a27d2243c2672")>
Public Property FixedFilterCriteria As CriteriaOperator

Property Value

Type Description
CriteriaOperator

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

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. To learn how to create criteria, refer to the Creating Criteria section.

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