C# Класс Telerik.Web.Mvc.UI.Fluent.DropDownItemBuilder

Defines the fluent interface for configuring child DropDonwList items.
Наследование: IHideObjectMembers
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

DropDownItemBuilder() публичный Метод

Initializes a new instance of the DropDownItemBuilder class.
public DropDownItemBuilder ( DropDownItem item ) : System.Web.Mvc
item DropDownItem The item.
Результат System.Web.Mvc

Selected() публичный Метод

Define when the item will be expanded on intial render.
public Selected ( bool value ) : DropDownItemBuilder
value bool If true the item will be selected.
Результат DropDownItemBuilder

Text() публичный Метод

Sets the value for the item.
public Text ( string value ) : DropDownItemBuilder
value string The value.
Результат DropDownItemBuilder

Value() публичный Метод

Sets the value for the item.
public Value ( string value ) : DropDownItemBuilder
value string The value.
Результат DropDownItemBuilder