[]
        
(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>
Public Class ValueFilterBuilder
    Inherits BaseBuilder(Of ValueFilter, ValueFilterBuilder)

Constructors

Name Description
ValueFilterBuilder(ValueFilter)

Creates one ValueFilterBuilder instance to configurate obj.

Methods

Name Description
CustomFilter(string)

Configurates CustomFilter. Sets the custom filter client-side function for the ValueFilter.

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.

SearchType(ValueFilterSearchKind)

Configurates SearchType. Sets the search type to use for the ValueFilterEditor.

ShowIncludeSelection(bool)

Configurates ShowIncludeSelection. Sets a value that indicates whether the value filter should display excel like 'Add current selection to filter' option.

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.