Class FacetViewModel
- Namespace
- Dynamicweb.Query
Publisher
- Assembly
- Dynamicweb.QueryPublisher.dll
Represents a View
- Inheritance
-
Facet
View Model
- Inherited Members
Properties
FacetOptions
Collection of facet options.
Property Value
Field
Field to retrieve facet options from.
Property Value
MaximumValue
Maximum value of the facet.
Property Value
MinimumValue
Minimum value of the facet.
Property Value
Name
The name of the facet, for example "Engine Type", presented to users as a search category. This name helps users identify different search/filter categories.
Property Value
- string
The display name of the facet.
OptionCount
Number of facet options
Property Value
OptionResultTotalCount
Total count of results across all options
Property Value
OptionWithResultCount
Number of facet options that have a result associated
Property Value
QueryParameter
The query parameter associated with the facet, for example "ElectricalType".
Property Value
QueryParameterDefaultValue
Default value of the query parameter, if none is set.
Property Value
QueryParameterType
The type of the query parameter.
Property Value
RenderType
How the facet will be rendered to the user, for example "Checkboxes" or "Colors".
Property Value
Type
Type of facet, for example "Field", "List", or "Term".
Property Value
Value
Value of the facet.