[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.MultiSelectListBoxBuilder-1

MultiSelectListBoxBuilder<T> Class

Defines a builder to configurate MultiSelectListBox<T>.

Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class MultiSelectListBoxBuilder<T> : ItemsBoundControlBuilder<T, MultiSelectListBox<T>, MultiSelectListBoxBuilder<T>>, IHtmlString
Type Parameters
Name Description
T

Constructors

Name Description
MultiSelectListBoxBuilder(MultiSelectListBox<T>)

Creates one MultiSelectListBoxBuilder<T> instance to configurate component.

Methods

Name Description
CaseSensitiveSearch(bool)

Configurates CaseSensitiveSearch. Sets a value that determines whether searches performed while the user types should case-sensitive.

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.

CheckedMemberPath(string)

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

Delay(int)

Configurates Delay. Sets the delay, in milliseconds, between when a keystroke occurs and when the search is performed to update the filter.

DisplayMemberPath(string)

Configurates DisplayMemberPath. Sets the name of the property to use as the visual representation of the items.

FilterInputPlaceholder(string)

Configurates FilterInputPlaceholder. Sets the string used as a placeholder for the filter input element.

IsContentHtml(bool)

Configurates IsContentHtml. Sets a value indicating whether the list displays items as plain text or as HTML.

OnClientCheckedItemsChanged(string)

Configurates the OnClientCheckedItemsChanged client event. Occurs when the value of the @see:checkedItems property 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.

SelectedIndex(int)

Configurates SelectedIndex. Sets the index of the currently selected item.

ShowFilterInput(bool)

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

ShowGroups(bool)

Configurates ShowGroups. Sets a value that determines whether the drop-down should include group header items to delimit data groups.

ShowSelectAllCheckbox(bool)

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

VirtualizationThreshold(int)

Configurates VirtualizationThreshold. Sets the minimum number of rows and/or columns required to enable virtualization in the MultiSelectListBox.

Extension Methods