ComponentOne ASP.NET MVC Controls
MaxSelectedItems Method

C1.Web.Mvc.Fluent Namespace > MultiAutoCompleteBuilder<T> Class : MaxSelectedItems Method
The value.
Configurates C1.Web.Mvc.MultiAutoComplete<T>.MaxSelectedItems. Sets the maximum number of items that can be selected.
Syntax
'Declaration
 
Public Function MaxSelectedItems( _
   ByVal value As Nullable(Of Integer) _
) As MultiAutoCompleteBuilder(Of T)
public MultiAutoCompleteBuilder<T> MaxSelectedItems( 
   Nullable<int> value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
Setting this property to null (the default value) allows users to pick any number of items.
See Also

Reference

MultiAutoCompleteBuilder<T> Class
MultiAutoCompleteBuilder<T> Members