Defines the fluent API for configuring the FloatingToolBarOverflowSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FloatingToolBarOverflowSettingsBuilder
Inheritance: objectFloatingToolBarOverflowSettingsBuilder
Inherited Members
Constructors
Initialize the FloatingToolBarOverflowSettingsBuilder
public FloatingToolBarOverflowSettingsBuilder(FloatingToolBarOverflowSettings settings)
Methods
Defines the overflow mode of the hosted ToolBar. The available options are: - "menu" — Moves overflowing items into a dropdown menu. - "scroll" — Keeps items visible and enables horizontal scrolling. - "section" — Groups items into collapsible sections. - "none" — Disables overflow handling; items may be cut off.
public FloatingToolBarOverflowSettingsBuilder Mode(ToolBarOverflowMode value)
The value that configures the mode.
Returns:Defines the visibility of scroll buttons when overflow.mode is "scroll". The available options are: - "auto" — Displays scroll buttons only when needed. - "hidden" — Hides the scroll buttons at all times. - "visible" — Always shows the scroll buttons.
public FloatingToolBarOverflowSettingsBuilder ScrollButtons(ScrollButtonsType value)
The value that configures the scrollbuttons.
Returns:Defines the placement of the scroll buttons of the hosted ToolBar. The available options are: - "split" — Scroll buttons appear at both ends of the toolbar. - "start" — Scroll buttons appear only at the start of the toolbar. - "end" — Scroll buttons appear only at the end of the toolbar.
public FloatingToolBarOverflowSettingsBuilder ScrollButtonsPosition(ScrollButtonsPositionType value)
The value that configures the scrollbuttonsposition.
Returns:Specifies the distance, in pixels, the hosted ToolBar scrolls when a scroll button is clicked.
public FloatingToolBarOverflowSettingsBuilder ScrollDistance(double value)
The value that configures the scrolldistance.
Returns: