Defines the fluent API for configuring MenuScrollableSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class MenuScrollableSettingsBuilder
Inheritance: objectMenuScrollableSettingsBuilder
Inherited Members
Constructors
MenuScrollableSettingsBuilder method.
public MenuScrollableSettingsBuilder(MenuScrollableSettings container)
Properties
Gets the settings being configured.
protected MenuScrollableSettings Container { get; }
Methods
Sets the scroll amount (in pixels) that the Menu scrolls when the scroll buttons are hovered. Each such distance is animated and then another animation starts with the same distance. If clicking a scroll button, the Menu scrolls by doubling the distance.
public MenuScrollableSettingsBuilder Distance(double value)
The value for Distance
Returns:Returns the current MenuScrollableSettingsBuilder instance.
Specifies where the scroll buttons appear when menu content overflows.
public MenuScrollableSettingsBuilder ScrollButtonsPosition(ScrollButtonsPositionType value)
The value for ScrollButtonsPosition
Returns:Returns the current MenuScrollableSettingsBuilder instance.