Defines the fluent API for configuring TabStripScrollableSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TabStripScrollableSettingsBuilder
Inheritance: objectTabStripScrollableSettingsBuilder
Inherited Members
Constructors
TabStripScrollableSettingsBuilder method.
public TabStripScrollableSettingsBuilder(TabStripScrollableSettings container)
Properties
Gets the settings being configured.
protected TabStripScrollableSettings Container { get; }
Methods
Sets the scroll amount (in pixels) applied when the user clicks on a scroll button.
public TabStripScrollableSettingsBuilder Distance(int value)
The value for Distance
Returns:TabStripScrollableSettingsBuilder
Returns the current TabStripScrollableSettingsBuilder instance.
Enables or disables scrolling. By default scrolling is enabled.
public virtual TabStripScrollableSettingsBuilder Enabled(bool value)
The value which will be used for enabling or disabling the scrolling.
Returns:TabStripScrollableSettingsBuilder
The current instance of the TabStripScrollableSettingsBuilder.
The Enabled method is useful when you need to enable scrolling based on certain conditions.
Sets the scroll buttons visibility. Default is Auto.
public TabStripScrollableSettingsBuilder ScrollButtons(ScrollButtonsType value)
The value for ScrollButtons
Returns:TabStripScrollableSettingsBuilder
Returns the current TabStripScrollableSettingsBuilder instance.
Sets the scroll buttons position. Default is Split.
public TabStripScrollableSettingsBuilder ScrollButtonsPosition(ScrollButtonsPositionType value)
The value for ScrollButtonsPosition
Returns:TabStripScrollableSettingsBuilder
Returns the current TabStripScrollableSettingsBuilder instance.