Gets or sets the criteria used to filter objects on the data store side.
A CriteriaOperator object that specifies the criteria to filter objects on the data store side.
Use the Criteria property in order to change the criteria by which the persistent objects will be filtered during collection loading on the storage side. If you change this property’s value, the collection is refreshed immediately. But if you change any of its criteria members, you must call the XPBaseCollection.Reload method in order to force loading. To temporarily prevent a collection from loading/reloading data use the XPBaseCollection.LoadingEnabled property.
For examples and additional information about filter expressions, see these help topics:
Unlike the XPCollection’s XPBaseCollection.Filter, Criteria can be built on persistent properties only.