New to Telerik UI for ASP.NET Core? 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 SelectListItemFactory

Inheritance: objectSelectListItemFactory

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 SelectListItemFactory class.

C#
public SelectListItemFactory(IList<SelectListItem> container)
Parameters:containerIList<SelectListItem>

The settings.

Methods

Defines a item.

C#
public SelectListItemBuilder Add()
Returns:

SelectListItemBuilder

Returns a SelectListItemBuilder with the available configuration options.