[]
The MultiSelect control allows users to select multiple items from drop-down lists that contain custom objects or simple strings.
public class MultiSelect<T> : ComboBoxBase<T>, IHtmlString, ITemplate, IDropDown
Name | Description |
---|---|
T |
Name | Description |
---|---|
MultiSelect(HtmlHelper, string) | Creates one MultiSelect<T> instance. |
Name | Description |
---|---|
CheckOnFilter | Gets or 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 | Gets or sets a list containing the indexes of checked items. |
CheckedMemberPath | Gets or sets the name of the property used to control the checkboxes placed next to each item. |
CheckedValues | Gets or sets a list containing the item-values that are currently checked. |
Delay | Gets or 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 | Gets or sets the string used as a placeholder for the filter input element on the drop-down. |
HeaderFormat | Gets or sets the format string used to create the header content when the control has more than MaxHeaderItems items checked. |
HeaderFormatter | Gets or sets a function that gets the HTML in the control header. |
MaxHeaderItems | Gets or sets the maximum number of items to display on the control header. |
Name | Gets or sets the name of the MultiSelect control. |
OnClientCheckedItemsChanged | Occurs when the value of the checked items changes. |
SelectAllLabel | Gets or 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 | Gets or sets whether the control should display a "filter" input above the items to filter the items displayed. |
ShowSelectAllCheckbox | Gets or sets whether the control should display a "Select All" checkbox above the items to select or de-select all items. |