Kendo UI resizable TagHelper EditorResizableSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("resizable", ParentTag = "kendo-editor", TagStructure = TagStructure.NormalOrSelfClosing)]
[HtmlTargetElement("resizable", ParentTag = "richtexteditor-editor", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("min", new string[] { "max", "toolbar" })]
[SuppressTagRendering]
public class EditorResizableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseEditorResizableSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-editor name="editor">
<resizable content="true"></resizable>
</kendo-editor>
Child Tags
Constructors
Initializes a new instance of the EditorResizableSettingsTagHelper class.
public EditorResizableSettingsTagHelper()
Properties
If enabled, the editor renders a resize handle to allow users to resize it.
public bool? Content { get; set; }
The maximum height that the editor can be resized to.
[HtmlAttributeName("max")]
public double? MaxHeight { get; set; }
The minimum height that the editor can be resized to.
[HtmlAttributeName("min")]
public double? MinHeight { get; set; }
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.
[HtmlAttributeName("toolbar")]
public bool? ToolbarEnabled { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.