New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Creates items for the DropDownListItem.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DropDownListItemFactory

Inheritance: objectDropDownListItemFactory

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the DropDownListItemFactory class.

C#
public DropDownListItemFactory(IList<DropDownListItem> container)
Parameters:containerIList<DropDownListItem>

The container.

Methods

Defines a item.

C#
public DropDownListItemBuilder Add()
Returns:

DropDownListItemBuilder

Returns a DropDownListItemBuilder with the available configuration options.