TabStripScrollableSettingsBuilder
Methods
Enabled(System.Boolean)
Enables or disables scrolling. By default scrolling is enabled.
Parameters
value - System.Boolean
The value used for determining the enablement of the scrolling.
Example
Razor
@( Html.Kendo().TabStrip()
.Name("TabStrip")
.Scrollable(s => s.Enabled(false))
)
Distance(System.Int32)
Sets the scroll amount applied when the user clicks on a scroll button.
Parameters
pixels - System.Int32
The scroll distance in pixels.
Example
Razor
@( Html.Kendo().TabStrip(Model)
.Name("TabStrip")
.Scrollable(s => s.Distance(200))
)
ScrollButtonsPosition(Kendo.Mvc.UI.ScrollButtonsPositionType)
Sets the scroll buttons position. Default is Split.
Parameters
value - ScrollButtonsPositionType
The value for ScrollButtonsPosition
Example
Razor
@( Html.Kendo().TabStrip(Model)
.Name("TabStrip")
.Scrollable(s => s.ScrollButtonsPosition(ScrollButtonsPositionType.Start))
)
ScrollButtons(Kendo.Mvc.UI.ScrollButtonsType)
Sets the scroll buttons visibility. Default is Auto.
Parameters
value - ScrollButtonsType
The value for ScrollButtons
Example
Razor
@( Html.Kendo().TabStrip(Model)
.Name("TabStrip")
.Scrollable(s => s.ScrollButtons(ScrollButtonsType.Start))
)