Defines the fluent API for configuring PropertyGridToolbarOverflowSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class PropertyGridToolbarOverflowSettingsBuilder<T> where T : class
Inheritance: objectPropertyGridToolbarOverflowSettingsBuilder<T>
Inherited Members
Constructors
PropertyGridToolbarOverflowSettingsBuilder method.
public PropertyGridToolbarOverflowSettingsBuilder(PropertyGridToolbarOverflowSettings<T> container)
Properties
Gets or sets the Container.
protected PropertyGridToolbarOverflowSettings<T> Container { get; }
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 PropertyGridToolbarOverflowSettingsBuilder<T> Mode(ToolBarOverflowMode value)
The value for 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 PropertyGridToolbarOverflowSettingsBuilder<T> ScrollButtons(ScrollButtonsType value)
The value for 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 PropertyGridToolbarOverflowSettingsBuilder<T> ScrollButtonsPosition(ScrollButtonsPositionType value)
The value for ScrollButtonsPosition
Returns:Specifies the distance (in pixels) the toolbar scrolls when a scroll button is clicked.
public PropertyGridToolbarOverflowSettingsBuilder<T> ScrollDistance(double value)
The value for ScrollDistance
Returns: