Kendo UI toolbar TagHelper EditorResizableToolbarSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("toolbar", ParentTag = "resizable", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class EditorResizableToolbarSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseEditorResizableToolbarSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-editor name="editor">
<resizable>
<toolbar enabled="true" />
</resizable>
</kendo-editor>
Constructors
Initializes a new instance of the EditorResizableToolbarSettingsTagHelper class.
public EditorResizableToolbarSettingsTagHelper()
Properties
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.
public ToolBarOverflowMode? Mode { get; set; }
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.
public ScrollButtonsType? ScrollButtons { get; set; }
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.
public ScrollButtonsPositionType? ScrollButtonsPosition { get; set; }
Specifies the distance (in pixels) the toolbar scrolls when a scroll button is clicked.
public double? ScrollDistance { 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.