Defines the fluent interface for configuring child DropDownList items.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class SelectListItemBuilder
Inheritance: objectSelectListItemBuilder
Inherited Members
Constructors
Initializes a new instance of the SelectListItemBuilder class.
Methods
Define when the item will be selected on intial render.
C#
public SelectListItemBuilder Selected(bool value)
If true the item will be selected.
Returns:Returns the current SelectListItemBuilder instance.
Sets the value for the item.
C#
public SelectListItemBuilder Text(string value)
The value.
Returns:Returns the current SelectListItemBuilder instance.
Sets the value for the item.
C#
public SelectListItemBuilder Value(string value)
The value.
Returns:Returns the current SelectListItemBuilder instance.