SplitterPaneBuilder
Methods
MinSize(System.String)
Sets the minimum pane size.
Parameters
size - System.String
The desired minimum size. Only sizes in pixels and percentages are allowed.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                        .Name("Splitter")
                        .Panes(panes =>
                        {
                            panes.Add().MinSize("220px");
                        })
            )
             
MaxSize(System.String)
Sets the maximum pane size.
Parameters
size - System.String
The desired maximum size. Only sizes in pixels and percentages are allowed.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                        .Name("Splitter")
                        .Panes(panes =>
                        {
                            panes.Add().MaxSize("220px");
                        })
            )
             
HtmlAttributes(System.Object)
Sets the HTML attributes applied to the outer HTML element rendered for the item
Parameters
attributes - System.Object
The attributes.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                        .Name("Splitter")
                        .Panes(panes =>
                        {
                            panes.Add().HtmlAttributes(new { style = "background: red" });
                        })
            )
             
HtmlAttributes(System.Collections.Generic.IDictionary)
Sets the HTML attributes applied to the outer HTML element rendered for the item
Parameters
attributes - System.Collections.Generic.IDictionary<String,Object>
The attributes.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                        .Name("Splitter")
                        .Panes(panes =>
                        {
                            panes.Add().HtmlAttributes(new { style = "background: red" });
                        })
            )
             
Content(System.Action)
Sets the HTML content of the pane.
Parameters
content - System.Action
The action which renders the HTML content.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @(  Html.Kendo().Splitter()
                        .Name("Splitter")
                        .Panes(panes =>
                        {
                            panes.Add()
                                .Content(() => { >%
                                    <p>Content</p>
                                %<});
                        })
                        .Render();
            )
             
Content(System.Func)
Sets the HTML content of the pane.
Parameters
content - System.Func<Object,Object>
The Razor template for the HTML content.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @(Html.Kendo().Splitter()
                   .Name("Splitter")
                   .Panes(panes =>
                   {
                       panes.Add()
                            .Content(@<p>Content</p>);
                   })
                   .Render();)
             
Content(System.String)
Sets the HTML content of the pane.
Parameters
content - System.String
The HTML content.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                     .Name("Splitter")
                     .Panes(panes =>
                     {
                         panes.Add()
                              .Content("<p>Content</p>");
                     })
            )
             
LoadContentFrom(Microsoft.AspNetCore.Routing.RouteValueDictionary)
Sets the Url which will be requested to return the pane content.
Parameters
routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary
The route values of the Action method.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                     .Name("Splitter")
                     .Panes(panes => {
                          panes.Add()
                                .LoadContentFrom(MVC.Home.Index().GetRouteValueDictionary());
                     })
            )
             
LoadContentFrom(System.String,System.String)
Sets the Url, which will be requested to return the pane content.
Parameters
actionName - System.String
The action name.
controllerName - System.String
The controller name.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                     .Name("Splitter")
                     .Panes(panes => {
                          panes.Add()
                               .LoadContentFrom("AjaxView_OpenSource", "Splitter");
                     })
            )
             
LoadContentFrom(System.String,System.String,System.Object)
Sets the Url, which will be requested to return the content.
Parameters
actionName - System.String
The action name.
controllerName - System.String
The controller name.
routeValues - System.Object
The route values of the Action method.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                     .Name("Splitter")
                     .Panes(panes => {
                          panes.Add()
                               .LoadContentFrom("AjaxView_OpenSource", "Splitter", MVC.Home.Index().GetRouteValueDictionary());
                     })
            )
             
LoadContentFrom(System.String,System.String,Microsoft.AspNetCore.Routing.RouteValueDictionary)
Sets the Url, which will be requested to return the content.
Parameters
actionName - System.String
The action name.
controllerName - System.String
The controller name.
routeValues - Microsoft.AspNetCore.Routing.RouteValueDictionary
Route values.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                     .Name("Splitter")
                     .Panes(panes => {
                          panes.Add()
                               .LoadContentFrom("AjaxView_OpenSource", "Splitter", new { id = 10 });
                     })
            )
             
LoadContentFrom(System.String)
Sets the Url, which will be requested to return the pane content.
Parameters
value - System.String
The url.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                     .Name("Splitter")
                     .Panes(panes => {
                          panes.Add()
                               .LoadContentFrom(Url.Action("AjaxView_OpenSource", "Splitter"));
                     })
            )
             
Label(System.String)
The label of the current pane. Will be used as a aria-label for the Splitter separator that has the pane as its primary one (the separator that is immediately after the pane).
Parameters
label - System.String
The label text.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                     .Name("Splitter")
                     .Panes(panes => {
                          panes.Add()
                          		.Label("pane name")
                     })
            )
             
LabelId(System.String)
The ID of the element that should be used as a label of the current pane. Will be used as a value of the aria-labelledby attribute for the Splitter separator that has the pane as its primary one (the separator that is immediately after the pane).
Parameters
labelId - System.String
The "id" attribute of the label element.
RETURNS
Returns the current SplitterPaneBuilder instance.
Example
 
             @( Html.Kendo().Splitter()
                     .Name("Splitter")
                     .Panes(panes => {
                          panes.Add()
                          		.LabelId("label_Id")
                     })
            )
             
Collapsed(System.Boolean)
Specifies whether a pane is initially collapsed (true) or expanded (true).
Parameters
value - System.Boolean
The value for Collapsed
RETURNS
Returns the current SplitterPaneBuilder instance.
CollapsedSize(System.String)
Specifies the size of a collapsed pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%"). This value must not exceed panes.max or be less then panes.min.
Parameters
value - System.String
The value for CollapsedSize
RETURNS
Returns the current SplitterPaneBuilder instance.
Collapsible(System.Boolean)
Specifies whether a pane is collapsible (true) or not collapsible (false).
Parameters
value - System.Boolean
The value for Collapsible
RETURNS
Returns the current SplitterPaneBuilder instance.
Resizable(System.Boolean)
Specifies whether a pane is resizable (true) or not resizable (false).
Parameters
value - System.Boolean
The value for Resizable
RETURNS
Returns the current SplitterPaneBuilder instance.
Scrollable(System.Boolean)
Specifies whether a pane is scrollable (true) or not scrollable (false).
Parameters
value - System.Boolean
The value for Scrollable
RETURNS
Returns the current SplitterPaneBuilder instance.
Size(System.String)
Specifies the size of a pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%"). This value must not exceed panes.max or be less then panes.min.
Parameters
value - System.String
The value for Size
RETURNS
Returns the current SplitterPaneBuilder instance.