[]
ITagHelper implementation for MultiSelect<T>.
[HtmlTargetElement("c1-multi-select")]
[RestrictChildren("c1-items-source", new string[] { "c1-odata-source", "c1-odata-virtual-source", "c1-input-item-template" })]
public class MultiSelectTagHelper : ComboBoxBaseTagHelper<object, MultiSelect<object>>, ITagHelper, ITagHelperComponent, ITemplateTagHelper
<HtmlTargetElement("c1-multi-select")>
<RestrictChildren("c1-items-source", New String() { "c1-odata-source", "c1-odata-virtual-source", "c1-input-item-template" })>
Public Class MultiSelectTagHelper
Inherits ComboBoxBaseTagHelper(Of Object, MultiSelect(Of Object))
Implements ITagHelper, ITagHelperComponent, ITemplateTagHelper
| Name | Description |
|---|---|
| MultiSelectTagHelper() |
| Name | Description |
|---|---|
| CheckOnFilter | 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 | Configurates CheckedIndexes. Sets a list containing the indexes of checked items. |
| CheckedItemsChanged | Configurates the OnClientCheckedItemsChanged client event. Occurs when the value of the checked items changes. |
| CheckedMemberPath | Configurates CheckedMemberPath. Sets the name of the property used to control the checkboxes placed next to each item. |
| CheckedValues | Configurates CheckedValues. Sets a list containing the item-values that are currently checked. |
| Delay | 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 | Configurates FilterInputPlaceholder. Sets the string used as a placeholder for the filter input element on the drop-down. |
| For | An expression to be evaluated against the current model. |
| HeaderFormat | Configurates HeaderFormat. Sets the format string used to create the header content when the control has more than MaxHeaderItems items checked. |
| HeaderFormatter | Configurates HeaderFormatter. Sets a function that gets the HTML in the control header. |
| MaxHeaderItems | Configurates MaxHeaderItems. Sets the maximum number of items to display on the control header. |
| Name | Gets or sets the name of the MultiSelect control. |
| SelectAllLabel | 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 | Configurates ShowFilterInput. Sets whether the control should display a "filter" input above the items to filter the items displayed. |
| ShowSelectAllCheckbox | Configurates ShowSelectAllCheckbox. Sets whether the control should display a "Select All" checkbox above the items to select or de-select all items. |
| Name | Description |
|---|---|
| ProcessAttributes(TagHelperContext, object) | Process the attributes set in the taghelper. |
| Render(TagHelperOutput) | Render the startup scripts. |