The search criterias that limit the search
Namespace:
EPiServer.Web.WebControlsAssembly: EPiServer.Web.WebControls (in EPiServer.Web.WebControls.dll) Version: 6.0.530.0
Syntax
| C# |
|---|
[DefaultValueAttribute(null)] public List<PropertyCriteriaControl> Criteria { get; } |
Remarks
The PropertyCriteria in the Criterias collection may be used in two different ways
- If SearchQuery is not empty, the criteria in the collection will be converted to filters and applied to the result of the text search.
- If SearchQuery is empty, there will be no text search. Instead the search will be resolved using FindPagesWithCriteria(PageReference, PropertyCriteriaCollection) based on the Criterias collection.