Defines the fluent API for configuring EditorResizableSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorResizableSettingsBuilder
Inheritance: objectEditorResizableSettingsBuilder
Inherited Members
Constructors
EditorResizableSettingsBuilder method.
public EditorResizableSettingsBuilder(EditorResizableSettings container)
Properties
Gets the settings being configured.
protected EditorResizableSettings Container { get; }
Methods
If enabled, the editor renders a resize handle to allow users to resize it.
public EditorResizableSettingsBuilder Content(bool value)
The value for Content
Returns:EditorResizableSettingsBuilder
Returns the current EditorResizableSettingsBuilder instance.
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.
public EditorResizableSettingsBuilder Max(Action<EditorResizableMaxSettingsBuilder> configurator)
The EditorResizableMaxSettingsBuilder for the max setting.
Returns:EditorResizableSettingsBuilder
Returns the current instance of EditorResizableSettingsBuilder .
The maximum height that the editor can be resized to.
public EditorResizableSettingsBuilder Max(double value)
The value for Max
Returns: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.
public EditorResizableSettingsBuilder Min(Action<EditorResizableMinSettingsBuilder> configurator)
The EditorResizableMinSettingsBuilder for the min setting.
Returns:EditorResizableSettingsBuilder
Returns the current instance of EditorResizableSettingsBuilder .
The minimum height that the editor can be resized to.
public EditorResizableSettingsBuilder Min(double value)
The value for Min
Returns: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.
public EditorResizableSettingsBuilder Toolbar()
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.
public EditorResizableSettingsBuilder Toolbar(Action<EditorResizableToolbarSettingsBuilder> configurator)
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.
public EditorResizableSettingsBuilder Toolbar(bool enabled)
Enables or disables the toolbar option.
Returns:EditorResizableSettingsBuilder
Returns the current instance of EditorResizableToolbarSettingsBuilder .