Defines the fluent interface for configuring ContextMenu scrolling/>
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class ContextMenuScrollableBuilder
Inheritance: objectContextMenuScrollableBuilder
Inherited Members
Constructors
Initializes a new instance of the ContextMenuScrollableBuilder class.
C#
public ContextMenuScrollableBuilder(ContextMenuScrollable settings)
The settings.
Methods
Distance sets the scroll amount (in pixels) that the ContextMenu 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 ContextMenu scrolls by doubling the distance. Default value is 50.
C#
public virtual ContextMenuScrollableBuilder Distance(int pixels)
The scroll distance in pixels.
Returns: