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

Defines the fluent API for configuring EditorResizableSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class EditorResizableSettingsBuilder

Inheritance: objectEditorResizableSettingsBuilder

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

Constructors

EditorResizableSettingsBuilder method.

C#
public EditorResizableSettingsBuilder(EditorResizableSettings container)
Parameters:containerEditorResizableSettings

Properties

Gets the settings being configured.

C#
protected EditorResizableSettings Container { get; }

Methods

If enabled, the editor renders a resize handle to allow users to resize it.

C#
public EditorResizableSettingsBuilder Content(bool value)
Parameters:valuebool

The value for Content

Returns:

EditorResizableSettingsBuilder

Returns the current EditorResizableSettingsBuilder instance.

Example:
C#
@( Html.Kendo().Editor()
.Name("Editor")
.Resizable(resizable => resizable.Content(true))
)

The maximum height that the editor can be resized to. If set to an object the user can restrict both max width and height values.

C#
public EditorResizableSettingsBuilder Max(Action<EditorResizableMaxSettingsBuilder> configurator)
Parameters:configuratorAction<EditorResizableMaxSettingsBuilder>

The EditorResizableMaxSettingsBuilder for the max setting.

Returns:

EditorResizableSettingsBuilder

Returns the current instance of EditorResizableSettingsBuilder .

The maximum height that the editor can be resized to.

C#
public EditorResizableSettingsBuilder Max(double value)
Parameters:valuedouble

The value for Max

Returns:

EditorResizableSettingsBuilder

The minimum height that the editor can be resized to. If set to an object the user can restrict both min width and height values.

C#
public EditorResizableSettingsBuilder Min(Action<EditorResizableMinSettingsBuilder> configurator)
Parameters:configuratorAction<EditorResizableMinSettingsBuilder>

The EditorResizableMinSettingsBuilder for the min setting.

Returns:

EditorResizableSettingsBuilder

Returns the current instance of EditorResizableSettingsBuilder .

The minimum height that the editor can be resized to.

C#
public EditorResizableSettingsBuilder Min(double value)
Parameters:valuedouble

The value for Min

Returns:

EditorResizableSettingsBuilder

If resizable is set to true the widget will detect changes in the viewport width and will hide the overflowing controls in the tool overflow popup.If resizable.toolbar is assigned an object, it will propagate the Toolbar.overflow configuration to the Editor's toolbar.

C#
public EditorResizableSettingsBuilder Toolbar()
Returns:

EditorResizableSettingsBuilder

Returns the current instance of EditorResizableToolbarSettingsBuilder .

If resizable is set to true the widget will detect changes in the viewport width and will hide the overflowing controls in the tool overflow popup.If resizable.toolbar is assigned an object, it will propagate the Toolbar.overflow configuration to the Editor's toolbar.

C#
public EditorResizableSettingsBuilder Toolbar(Action<EditorResizableToolbarSettingsBuilder> configurator)
Parameters:configuratorAction<EditorResizableToolbarSettingsBuilder>

The EditorResizableToolbarSettingsBuilder for the toolbar setting.

Returns:

EditorResizableSettingsBuilder

Returns the current instance of EditorResizableSettingsBuilder .

If resizable is set to true the widget will detect changes in the viewport width and will hide the overflowing controls in the tool overflow popup.If resizable.toolbar is assigned an object, it will propagate the Toolbar.overflow configuration to the Editor's toolbar.

C#
public EditorResizableSettingsBuilder Toolbar(bool enabled)
Parameters:enabledbool

Enables or disables the toolbar option.

Returns:

EditorResizableSettingsBuilder

Returns the current instance of EditorResizableToolbarSettingsBuilder .