XPView.CriteriaString Property
Gets or sets the criteria used to filter objects while the view is being loaded.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v18.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | *null* | A String value that specifies the criteria used to filter objects while the view is being loaded. |
Remarks
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
// ...
class SampleTable : XPBaseObject {
public int Id;
public string Name;
public int Age;
}
// ...
xpView1.CriteriaString = "Age > 30";
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CriteriaString property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
See Also