Defines the fluent API for configuring ContextMenuScrollableSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class ContextMenuScrollableSettingsBuilder
Inheritance: objectContextMenuScrollableSettingsBuilder
Inherited Members
Constructors
ContextMenuScrollableSettingsBuilder method.
C#
public ContextMenuScrollableSettingsBuilder(ContextMenuScrollableSettings container)
Properties
Gets the settings being configured.
C#
protected ContextMenuScrollableSettings Container { get; }
Methods
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.
C#
public ContextMenuScrollableSettingsBuilder Distance(double value)
The value for Distance
Returns:ContextMenuScrollableSettingsBuilder
Returns the current ContextMenuScrollableSettingsBuilder instance.