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

ContextMenuScrollableBuilder

Methods

Distance(System.Int32)

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.

Parameters

pixels - System.Int32

The scroll distance in pixels.

Example


             @( Html.Kendo().ContextMenu()
                        .Name("Menu")
                        .Scrollable(s => s.Distance(200))
            )

In this article
Not finding the help you need?