MultiSelect has customizable header which, by default, displays all the items selected from the list. However, you can control this default behavior to adjust the maximum number of selected items to display in the header using MaxHeaderItems property of the C1MultiSelect class. For example, when you set the value of MaxHeaderItems property to 3, as soon as you select the fourth item, the header starts showing the total count of selected items as "4 items selected".
The following GIF shows how the items in the header appear on setting the MaxHeaderItems property.
To display maximum three items in the header, use the following code: