[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.MultiSelectBuilder-1.MaxHeaderItems

MaxHeaderItems Method

MaxHeaderItems(int)

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

Declaration
public MultiSelectBuilder<T> MaxHeaderItems(int value)
Parameters
Type Name Description
int value

The value.

Returns
Type Description
MultiSelectBuilder<T>

Current builder.

Remarks

If no items are selected, the header displays the text specified by the Placeholder property.If the number of selected items is smaller than or equal to the value of the MaxHeaderItems property, the selected items are shown in the header. If the number of selected items is greater than MaxHeaderItems, the header displays the selected item count instead.