New to Telerik UI for ASP.NET Core? Start a free 30-day trial

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 object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

ContextMenuScrollableSettingsBuilder method.

C#
public ContextMenuScrollableSettingsBuilder(ContextMenuScrollableSettings container)
Parameters:containerContextMenuScrollableSettings

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)
Parameters:valuedouble

The value for Distance

Returns:

ContextMenuScrollableSettingsBuilder

Returns the current ContextMenuScrollableSettingsBuilder instance.