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

Defines the fluent API for configuring the EditorResizableSettings settings.

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

C#
public EditorResizableSettingsBuilder(EditorResizableSettings settings)
Parameters:settingsEditorResizableSettings

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 that configures the content.

Returns:

EditorResizableSettingsBuilder

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 action that configures the max.

Returns:

EditorResizableSettingsBuilder

Defines the maximum height that the editor can be resized to.

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

The value that configures the max.

Returns:

EditorResizableSettingsBuilder

Example:
C#
@( Html.Kendo().Editor()
.Name("Editor")
.Resizable(resizable =&gt; resizable.Max(600))
)

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 action that configures the min.

Returns:

EditorResizableSettingsBuilder

Defines the minimum height that the editor can be resized to.

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

The value that configures the min.

Returns:

EditorResizableSettingsBuilder

Example:
C#
@( Html.Kendo().Editor()
.Name("Editor")
.Resizable(resizable =&gt; resizable.Min(100))
)

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

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 action that configures the toolbar.

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(bool enabled)
Parameters:enabledbool

Enables or disables the toolbar option.

Returns:

EditorResizableSettingsBuilder