SplitterTagHelper
Kendo UI Splitter TagHelper SplitterTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("kendo-splitter")]
[RestrictChildren("pane", new string[] { })]
[OutputElementHint("div")]
public class SplitterTagHelper : TagHelperBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperBaseSplitterTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-splitter name="splitter" orientation="SplitterOrientation.Vertical" click-move-click="true">
<pane>Pane 1</pane>
<pane>Pane 2</pane>
</kendo-splitter>
Child Tags
Constructors
Initializes a new instance of the SplitterTagHelper class.
Properties
Determines whether the click move click interaction would be enabled as an alternative of the drag and drop resizing of the Splitter. By default the alternative is enabled.
public bool? ClickMoveClick { get; set; }
The name of the JavaScript function that will handle the collapse event. Triggered when a pane of a Splitter is collapsed.
public string OnCollapse { get; set; }
The name of the JavaScript function that will handle the contentLoad event. Triggered when the content for a pane has finished loading from a remote endpoint.
public string OnContentLoad { get; set; }
The name of the JavaScript function that will handle the error event. Triggered when the AJAX request that fetches a pane content has failed.
public string OnError { get; set; }
The name of the JavaScript function that will handle the expand event. Triggered when a pane of a Splitter is expanded.
public string OnExpand { get; set; }
The name of the JavaScript function that will handle the kendoKeydown event. Triggered when the user presses a keyboard key while the Splitter is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public string OnKendoKeydown { get; set; }
The name of the JavaScript function that will handle the layoutChange event. This event is now obsolete and will be removed in the future. Please use the resize event instead.Fires when the splitter layout has changed
public string OnLayoutChange { get; set; }
The name of the JavaScript function that will handle the resize event. Triggered when a pane is resized.
public string OnResize { get; set; }
Specifies the orientation in which the splitter panes will be ordered
public SplitterOrientation? Orientation { get; set; }
Methods
Gets the initialization script.
protected override string GetInitializationScript()
The initialization script.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.
public override IDictionary<string, object> Serialize()
Overrides:
SerializeEvents method.
protected override Dictionary<string, object> SerializeEvents()
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML output.
protected override void WriteHtml(TagHelperOutput output)
The TagHelper output.
Overrides: