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

Kendo UI SplitterPane TagHelper SplitterPaneTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("pane", ParentTag = "kendo-splitter")]
[OutputElementHint("div")]
public class SplitterPaneTagHelper : TagHelper, ITagHelper, ITagHelperComponent

Inheritance: objectTagHelperSplitterPaneTagHelper

Implements: ITagHelperITagHelperComponent

Inherited Members TagHelper.Init(TagHelperContext)TagHelper.ProcessAsync(TagHelperContext, TagHelperOutput)TagHelper.Orderobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Example:

csharp
@addTagHelper *, Kendo.Mvc

<kendo-splitter name="splitter">
    <pane collapsed="true"></pane>
    <pane></pane>
</kendo-splitter>

Constructors

Initializes a new instance of the SplitterPaneTagHelper class.

C#
public SplitterPaneTagHelper()

Properties

Specifies whether a pane is initially collapsed (true) or expanded (true).

C#
public bool? Collapsed { get; set; }

Specifies the size of a collapsed pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%"). This value must not exceed panes.max or be less then panes.min.

C#
public string CollapsedSize { get; set; }

Specifies whether a pane is collapsible (true) or not collapsible (false).

C#
public bool? Collapsible { get; set; }

Specifies the URL from which to load the content of a pane.

C#
public string ContentUrl { get; set; }

The label of the current pane. Will be used as a aria-label for the Splitter separator that has the pane as its primary one (the separator that is immediately after the pane).

C#
public string Label { get; set; }

The ID of the element that should be used as a label of the current pane. Will be used as a value of the aria-labelledby attribute for the Splitter separator that has the pane as its primary one (the separator that is immediately after the pane).

C#
public string LabelId { get; set; }

Specifies the maximum size of a pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%"). The size of a resized pane cannot exceed the defined maximum size.

C#
public string MaxSize { get; set; }

Specifies the minimum size of a pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%"). The size of a resized pane cannot be less than the defined minimum size.

C#
public string MinSize { get; set; }

Specifies whether a pane is resizable (true) or not resizable (false).

C#
public bool? Resizable { get; set; }

Specifies whether a pane is scrollable (true) or not scrollable (false).

C#
public bool? Scrollable { get; set; }

Specifies the size of a pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%"). This value must not exceed panes.max or be less then panes.min.

C#
public string Size { get; set; }

Specifies the HTML tag that will be generated for the pane. Defaults to div.

C#
public string TagName { get; set; }

Methods

Process method.

C#
public override void Process(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutput

Overrides: TagHelper.Process(TagHelperContext, TagHelperOutput)

SerializeSettings method.

C#
public Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>