New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent interface for configuring the Splitter component.

Definition

Constructors

C#
public SplitterBuilder(Splitter component)
Parameters:componentSplitter

Methods

Determines whether the click move click interaction would be enabled as an alternative of the drag and drop resizing of the Splitter. By default the alternative is enabled.

C#
public SplitterBuilder ClickMoveClick(bool value)
Parameters:valuebool

The value for ClickMoveClick

Returns:

SplitterBuilder

Example:
C#
@( Html.Kendo().Splitter()
.Name("Splitter")
.ClickMoveClick(true)
)

Configures the client events for the splitter.

C#
public SplitterBuilder Events(Action<SplitterEventBuilder> configurator)
Parameters:configuratorAction<SplitterEventBuilder>

The action that configures the client events.

Returns:

SplitterBuilder

Example:
C#
@( Html.Kendo().Splitter()
.Name("Splitter")
.Events(events =&gt; events
.OnLoad("onLoad")
)
)

Sets the splitter orientation.

C#
public SplitterBuilder Orientation(SplitterOrientation value)
Parameters:valueSplitterOrientation

The desired orientation.

Returns:

SplitterBuilder

Example:
C#
@( Html.Kendo().Splitter()
.Name("Splitter")
.Orientation(SplitterOrientation.Vertical)
)

Defines the panes in the splitter.

C#
public SplitterBuilder Panes(Action<SplitterPaneFactory> configurePanes)
Parameters:configurePanesAction<SplitterPaneFactory>

The action that configures the panes.

Returns:

SplitterBuilder

Example:
C#
@( Html.Kendo().Splitter()
.Name("Splitter")
.Panes(panes =&gt; {
panes.Add().LoadContentFrom("Navigation", "Shared");
panes.Add().LoadContentFrom("Index", "Home");
})
)