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

Defines the fluent API for configuring the ToolBarOverflowSettings settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ToolBarOverflowSettings : JsonObject

Inheritance: objectJsonObjectToolBarOverflowSettings

Inherited Members JsonObject.ToJson()object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initialization for the ToolBarOverflowSettings

C#
public ToolBarOverflowSettings()

Properties

Defines the overflow mode. The available options are: - "menu" — Moves overflowing items into a dropdown menu. - "scroll" — Keeps items visible and enables horizontal scrolling. - "section" — Groups items into collapsible sections. - "none" — Disables overflow handling; items may be cut off.

C#
public ToolBarOverflowMode? Mode { get; set; }

Defines the visibility of scroll buttons when mode is "scroll". The available options are: - "auto" — Displays scroll buttons only when needed. - "hidden" — Hides the scroll buttons at all times. - "visible" — Always shows the scroll buttons.

C#
public ScrollButtonsType? ScrollButtons { get; set; }

Defines the placement of scroll buttons. The available options are: - "split" — Scroll buttons appear at both ends of the toolbar. - "start" — Scroll buttons appear only at the start of the toolbar. - "end" — Scroll buttons appear only at the end of the toolbar.

C#
public ScrollButtonsPositionType? ScrollButtonsPosition { get; set; }

Specifies the distance (in pixels) the toolbar scrolls when a scroll button is clicked.

C#
public double? ScrollDistance { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)