MenuItemBuilder - класс |
Пространство имён: Telerik.Web.Mvc.UI
public class MenuItemBuilder : NavigationItemBuilder<MenuItem, MenuItemBuilder>, IHideObjectMembers
Тип MenuItemBuilder предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| MenuItemBuilder |
Initializes a new instance of the MenuItemBuilder class.
|
| Имя | Описание | |
|---|---|---|
| Item | (Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| ViewContext | (Унаследован от NavigationItemBuilderTItem, TBuilder.) |
| Имя | Описание | |
|---|---|---|
| Action(RouteValueDictionary) |
Sets the action to which the item should navigate
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Action(String, String) |
Sets the action to which the item should navigate
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Action(String, String, Object) |
Sets the action to which the item should navigate
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Action(String, String, RouteValueDictionary) |
Sets the action to which the item should navigate
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| ActionTController(ExpressionActionTController) |
Makes the item navigate to the specified controllerAction method.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Content(Action) |
Sets the HTML content which the item should display.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Content(FuncObject, Object) |
Sets the HTML content which the item should display.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Content(String) |
Sets the HTML content which the item should display as a string.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| ContentHtmlAttributes(IDictionaryString, Object) |
Sets the HTML attributes of the content element of the item.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| ContentHtmlAttributes(Object) |
Sets the HTML attributes of the content element of the item.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Enabled |
Enables or disables the item. Disabled item cannot be clicked, expanded or open (depending on the item type - menu, tabstrip, panelbar).
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Encoded |
Sets whether the Text property should be encoded when the item is rendered.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| HtmlAttributes(IDictionaryString, Object) |
Sets the HTML attributes applied to the outer HTML element rendered for the item
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| HtmlAttributes(Object) |
Sets the HTML attributes applied to the outer HTML element rendered for the item
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| ImageHtmlAttributes(IDictionaryString, Object) |
Sets the HTML attributes for the item image.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| ImageHtmlAttributes(Object) |
Sets the HTML attributes for the item image.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| ImageUrl |
Sets the URL of the image that should be displayed by the item.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Items |
Configures the child items of a MenuItem.
| |
| LinkHtmlAttributes(IDictionaryString, Object) | (Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| LinkHtmlAttributes(Object) | (Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Route(String) |
Sets the route to which the item should navigate.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Route(String, Object) |
Sets the route to which the item should navigate.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Route(String, RouteValueDictionary) |
Sets the route to which the item should navigate.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Selected |
Selects or unselects the item. By default items are not selected.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| SpriteCssClasses |
Sets the sprite CSS class names.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Text |
Sets the text displayed by the item.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| ToItem |
Returns the inner navigation item
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Url |
Sets the URL to which the item should navigate
(Унаследован от NavigationItemBuilderTItem, TBuilder.) | |
| Visible |
Makes the item visible or not. Invisible items are not rendered in the output HTML.
(Унаследован от NavigationItemBuilderTItem, TBuilder.) |
| Имя | Описание | |
|---|---|---|
| GetID |
Получить идентификатор из объекта.
Вызывает ToString().ToLower()
(Определяется ObjectExtensions.) | |
| Implementation |
Получить реальный объект из класса
(Определяется ModelExtensions.) | |
| SafeToString | (Определяется ObjectExtensions.) | |
| ToEncodedJson |
Получить представление объекта в структуре Json, зашифрованную для атрибута
(Определяется ObjectExtensions.) | |
| ToJson |
Получить представление объекта в структуре Json
(Определяется ObjectExtensions.) | |
| ToJsonSlice |
Получить представление объекта в структуре Json.
Обрезает стартовый и конечный символы { и }
(Определяется ObjectExtensions.) |