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

Defines the fluent API for configuring EditorResizableToolbarSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class EditorResizableToolbarSettingsBuilder

Inheritance: objectEditorResizableToolbarSettingsBuilder

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

Constructors

EditorResizableToolbarSettingsBuilder method.

C#
public EditorResizableToolbarSettingsBuilder(EditorResizableToolbarSettings container)
Parameters:containerEditorResizableToolbarSettings

Properties

Gets the settings being configured.

C#
protected EditorResizableToolbarSettings Container { get; }

Methods

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 EditorResizableToolbarSettingsBuilder Mode(ToolBarOverflowMode value)
Parameters:valueToolBarOverflowMode

The value for Mode

Returns:

EditorResizableToolbarSettingsBuilder

Returns the current EditorResizableToolbarSettingsBuilder instance.

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 EditorResizableToolbarSettingsBuilder ScrollButtons(ScrollButtonsType value)
Parameters:valueScrollButtonsType

The value for ScrollButtons

Returns:

EditorResizableToolbarSettingsBuilder

Returns the current EditorResizableToolbarSettingsBuilder instance.

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 EditorResizableToolbarSettingsBuilder ScrollButtonsPosition(ScrollButtonsPositionType value)
Parameters:valueScrollButtonsPositionType

The value for ScrollButtonsPosition

Returns:

EditorResizableToolbarSettingsBuilder

Returns the current EditorResizableToolbarSettingsBuilder instance.

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

C#
public EditorResizableToolbarSettingsBuilder ScrollDistance(double value)
Parameters:valuedouble

The value for ScrollDistance

Returns:

EditorResizableToolbarSettingsBuilder

Returns the current EditorResizableToolbarSettingsBuilder instance.