Defines the fluent API for configuring the TreeListToolbarOverflowSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TreeListToolbarOverflowSettingsBuilder<T> where T : class
Inheritance: objectTreeListToolbarOverflowSettingsBuilder<T>
Inherited Members
Constructors
Initialize the TreeListToolbarOverflowSettingsBuilder
public TreeListToolbarOverflowSettingsBuilder(TreeListToolbarOverflowSettings settings)
Methods
Defines the overflow mode. 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 TreeListToolbarOverflowSettingsBuilder<T> Mode(ToolBarOverflowMode value)
The value that configures the mode.
Returns:Defines the visibility of scroll buttons when 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 TreeListToolbarOverflowSettingsBuilder<T> ScrollButtons(ScrollButtonsType value)
The value that configures the scrollbuttons.
Returns:Defines the placement of scroll buttons. 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 TreeListToolbarOverflowSettingsBuilder<T> ScrollButtonsPosition(ScrollButtonsPositionType value)
The value that configures the scrollbuttonsposition.
Returns:Specifies the distance (in pixels) the toolbar scrolls when a scroll button is clicked.
public TreeListToolbarOverflowSettingsBuilder<T> ScrollDistance(double value)
The value that configures the scrolldistance.
Returns: