Kendo UI stackedLayoutSettings TagHelper GridStackedLayoutSettingsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("stacked-layout-settings", ParentTag = "kendo-grid", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class GridStackedLayoutSettingsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseGridStackedLayoutSettingsSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-grid name="grid">
<stacked-layout-settings cols="2" />
</kendo-grid>
Constructors
Initializes a new instance of the GridStackedLayoutSettingsSettingsTagHelper class.
C#
public GridStackedLayoutSettingsSettingsTagHelper()
Properties
Sets the amount of columns in which the stacked cells will be displayed. If set as array, the size of the array represents the number of columns, and the values represent the column widths. Possible values are: string, number, and object.
C#
public double? Cols { get; set; }
Methods
Adds the current instance to the parent TagHelper, if applicable.
C#
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.