[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.MultiSelectBuilder-1

MultiSelectBuilder<T> Class

Defines a builder to configurate MultiSelect<T>.

Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class MultiSelectBuilder<T> : ComboBoxBaseBuilder<T, MultiSelect<T>, MultiSelectBuilder<T>>, IHtmlString
Type Parameters
Name Description
T

Constructors

Name Description
MultiSelectBuilder(MultiSelect<T>)

Creates one MultiSelectBuilder<T> instance to configurate component.

Methods

Name Description
CheckOnFilter(bool)

Configurates CheckOnFilter. Sets a value that determines whether the MultiSelectListBox in the drop-down should automatically select all the filtered items when the filter text changes.

CheckedIndexes(IList<int>)

Configurates CheckedIndexes. Sets a list containing the indexes of checked items.

CheckedIndexes(params int[])

Sets the CheckedIndexes property.

CheckedMemberPath(string)

Configurates CheckedMemberPath. Sets the name of the property used to control the checkboxes placed next to each item.

CheckedValues(IEnumerable<object>)

Configurates CheckedValues. Sets a list containing the item-values that are currently checked.

CheckedValues(params object[])

Sets the CheckedValues property.

Delay(int)

Configurates Delay. Sets the delay, in milliseconds, between when a keystroke occurs and when the search is performed to update the filter. This property is relevant only when the ShowFilterInput property is set to true.

FilterInputPlaceholder(string)

Configurates FilterInputPlaceholder. Sets the string used as a placeholder for the filter input element on the drop-down.

HeaderFormat(string)

Configurates HeaderFormat. Sets the format string used to create the header content when the control has more than MaxHeaderItems items checked.

HeaderFormatter(string)

Configurates HeaderFormatter. Sets a function that gets the HTML in the control header.

MaxHeaderItems(int)

Configurates MaxHeaderItems. Sets the maximum number of items to display on the control header.

Name(string)

Sets the Name property.

OnClientCheckedItemsChanged(string)

Configurates the OnClientCheckedItemsChanged client event. Occurs when the value of the checked items changes.

SelectAllLabel(string)

Configurates SelectAllLabel. Sets the string to be used as a label for the "Select All" checkbox that is displayed when the ShowSelectAllCheckbox property is set to true.

ShowFilterInput(bool)

Configurates ShowFilterInput. Sets whether the control should display a "filter" input above the items to filter the items displayed.

ShowSelectAllCheckbox(bool)

Configurates ShowSelectAllCheckbox. Sets whether the control should display a "Select All" checkbox above the items to select or de-select all items.

Extension Methods