Skip to main content

ODataServerModeSource.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.Data.ODataLinq

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

[Browsable(false)]
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

For information and examples on how to create criteria, see Simplified Criteria Syntax.

You can also specify a string representation of the filter criteria via the ODataServerModeSource.FixedFilterString property. These two properties are synchronized. When a filter expression is assigned to the ODataInstantFeedbackSource.FixedFilterString property, an equivalent CriteriaOperator is created and assigned to the FixedFilterCriteria property. When a CriteriaOperator is assigned to the FixedFilterCriteria property, the ODataServerModeSource.FixedFilterString property is modified accordingly.

A data-aware control bound to a ODataServerModeSource can provide its own filtering. Changing the filter via the data-aware control does not modify the FixedFilterCriteria property and vice versa.

See Also