[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ValueFilterBuilder

ValueFilterBuilder Class

Defines a builder to configurate ValueFilter.

Inheritance
HideObjectMembers
ValueFilterBuilder
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class ValueFilterBuilder : BaseBuilder<ValueFilter, ValueFilterBuilder>

Constructors

Name Description
ValueFilterBuilder(ValueFilter)

Creates one ValueFilterBuilder instance to configurate obj.

Methods

Name Description
DataMap(Action<DataMapBuilder>)

Configurates DataMap. Sets the DataMap used to convert raw values into display values of ValueFilter.

ExclusiveValueSearch(bool)

Configurates ExclusiveValueSearch. Sets a value that determines whether the filter should include only values selected by the @see:ValueFilter.filterText property.

FilterText(string)

Configurates FilterText. Sets a string to filter the list of display values.

MaxValues(int)

Configurates MaxValues. Sets the maximum number of elements on the list of display values.

SortValues(bool)

Configurates SortValues. Sets a value that determines whether the values should be sorted when displayed in the editor.

UniqueValues(IEnumerable<object>)

Configurates UniqueValues. Sets an array containing the unique values to be displayed on the list.

UniqueValues(params object[])

Sets the UniqueValues property.