New to Telerik UI for ASP.NET Core? Download free 30-day trial

MobileListViewLinkItemBuilder

Methods

LinkHtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes of the link.

Parameters

attributes - System.Collections.Generic.IDictionary<String,Object>

The HTML attributes of the link.

LinkHtmlAttributes(System.Object)

Sets the HTML attributes of the link.

Parameters

attributes - System.Object

The HTML attributes of the link.

Target(System.String)

Specifies the id of target Pane or _top for application level Pane

Parameters

value - System.String

The value that configures the target.

ActionsheetContext(System.String)

This value will be available when the action callback of ActionSheet item is executed

Parameters

value - System.String

The value that configures the actionsheetcontext.

Rel(Kendo.Mvc.UI.MobileButtonRel)

Specifies the widget to be open when is tapped (the href must be set too)

Parameters

value - MobileButtonRel

The value that configures the rel.

Url(System.String)

Specifies the url for remote view or id of the view to be loaded (prefixed with #, like an anchor)

Parameters

value - System.String

The value that configures the url.

Url(System.Action)

Specifies the url for remote view to be loaded

Parameters

configurator - System.Action<MobileNavigatableSettingsBuilder>

Url(System.String,System.String,System.Object)

Sets controller and action from where the remove view to be loaded.

Parameters

actionName - System.String

Action name

controllerName - System.String

Controller Name

routeValues - System.Object

Route values

Url(System.String,System.String)

Sets controller, action and routeValues from where the remove view to be loaded.

Parameters

actionName - System.String

Action name

controllerName - System.String

Controller Name

Text(System.String)

Sets the text of the item.

Parameters

value - System.String

Sets the text of the item.

HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

Parameters

attributes - System.Collections.Generic.IDictionary<String,Object>

The HTML attributes.

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

Content(System.Action)

Sets the HTML content which the item should display.

Parameters

value - System.Action

The action which renders the item content.

Example


             @( Html.Kendo().MobileListViewView()
                       .Name("View")
                       .Items(items => 
                       {
                            items.Add().Content(() =>
                                     {
                                         )
                                             <strong> Item Content </strong>
                                         (
                                     });
                        })
                       .Render();
            )

Content(System.Func)

Sets the HTML content which the item should display.

Parameters

value - System.Func<Object,Object>

The content wrapped in a regular HTML tag or text tag (Razor syntax).

Example


             @(Html.Kendo().MobileListView()
                  .Name("View")  
                  .Items(items => 
                  {
                    items.Add().Content(
                        @<text>
                                Some text
                                <strong> Item Content </strong>
                        </text>        
                  )
                  })
             )

Icon(System.String)

The icon of the link item. It can be either one of the built-in icons, or a custom one.

Parameters

value - System.String

The value that configures the icon.

In this article
Not finding the help you need?