Table of Contents

Class FacetOptionViewModel

Namespace
Dynamicweb.QueryPublisher
Assembly
Dynamicweb.QueryPublisher.dll

Represents a ViewModelBase for facet option information.

public sealed class FacetOptionViewModel : ViewModelBase
Inheritance
FacetOptionViewModel
Inherited Members

Properties

Count

Total count of results for this option.

public long Count { get; set; }

Property Value

long

Label

Label of the facet option.

public string Label { get; set; }

Property Value

string

Name

Name of the facet option, for example "center" or "front", presented to users as a filter option. This name helps users filter their search.

public string Name { get; set; }

Property Value

string

The display name of the facet option.

Selected

Whether the facet option is selected.

public bool Selected { get; set; }

Property Value

bool

Sort

Sort value for this option in the facet results.

public int Sort { get; set; }

Property Value

int

A number indicating its sort order. 0 if not specified

Value

Value of the facet option.

public string Value { get; set; }

Property Value

string
To top