C# Class Telerik.Web.Mvc.UI.Fluent.DropDownItemBuilder

Defines the fluent interface for configuring child DropDonwList items.
Inheritance: IHideObjectMembers
Datei anzeigen Open project: juanplopes/simple-telerik Class Usage Examples

Public Methods

Method Description
DropDownItemBuilder ( DropDownItem item ) : System.Web.Mvc

Initializes a new instance of the DropDownItemBuilder class.

Selected ( bool value ) : DropDownItemBuilder

Define when the item will be expanded on intial render.

Text ( string value ) : DropDownItemBuilder

Sets the value for the item.

Value ( string value ) : DropDownItemBuilder

Sets the value for the item.

Method Details

DropDownItemBuilder() public method

Initializes a new instance of the DropDownItemBuilder class.
public DropDownItemBuilder ( DropDownItem item ) : System.Web.Mvc
item DropDownItem The item.
return System.Web.Mvc

Selected() public method

Define when the item will be expanded on intial render.
public Selected ( bool value ) : DropDownItemBuilder
value bool If true the item will be selected.
return DropDownItemBuilder

Text() public method

Sets the value for the item.
public Text ( string value ) : DropDownItemBuilder
value string The value.
return DropDownItemBuilder

Value() public method

Sets the value for the item.
public Value ( string value ) : DropDownItemBuilder
value string The value.
return DropDownItemBuilder