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

MobileSplitViewPaneBuilder

Methods

Id(System.String)

The id of tha pane.

Parameters

value - System.String

The value that configures the id.

Initial(System.String)

The value that configures the initial.

Parameters

value - System.String

The value that configures the initial.

Layout(System.String)

The value that configures the layout.

Parameters

value - System.String

The value that configures the layout.

Loading(System.String)

The text displayed in the loading popup. Setting this value to false will disable the loading popup.

Parameters

value - System.String

The value that configures the loading.

Transition(System.String)

The default View transition.

Parameters

value - System.String

The value that configures the transition.

Collapsible(System.Boolean)

Defines whether the pane is collapsible. Collapsible panes are automatically hidden when the device is in portrait orientation.

Parameters

value - System.Boolean

The value that configures the collapsible.

PortraitWidth(System.String)

Defines the width of the pane in portrait orientation.

Parameters

value - System.String

The value that configures the portraitwidth.

PortraitWidth(System.Int32)

Defines the width of the pane in portrait orientation (in pixels).

Parameters

value - System.Int32

The value that configures the portraitwidth.

Content(System.Action)

Sets the HTML content which the pane should display.

Parameters

value - System.Action

The action which renders the content.

Example


             @( Html.Kendo().MobileSplitView()
                       .Name("View")
                       .Panes(panes => panes.Add()
                            .Content(() =>
                                     {
                                         )
                                             <strong> View Content </strong>
                                         (
                                     })
                            )
                       .Render();
            )

Content(System.Func)

Sets the HTML content which the pane should display.

Parameters

value - System.Func<Object,Object>

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

Example


             @(Html.Kendo().MobileSplitView()
                  .Name("View")
                  .Panes(panes => panes.Add()
                    .Content(
                          @<text>
                                  Some text
                                  <strong> View Content </strong>
                          </text>        
                    ))
             )

Content(System.String)

Sets the HTML content which the pane should display as a string.

Parameters

value - System.String

The action which renders the view content.

Example


             @( Html.Kendo().MobileSplitView()
                       .Name("View")
                       .Panes(panes => panes.Add().Content("<strong> View Content </strong>"))
                       .Render();
            )

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

Parameters

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

The HTML attributes.

Events(System.Action)

Configures the client-side events.

Parameters

configurator - System.Action<MobileSplitViewPaneEventBuilder>

The client events action.

Example


             @( Html.Kendo().MobileSplitView()
                        .Name("MobileSplitView")
                        .Panes(panes => panes.Add()
                            .Events(events => events
                                .Navigate("onNavigate")
                            ))
            )

In this article
Not finding the help you need?