Kendo UI resizable TagHelper GridResizableSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("resizable", ParentTag = "kendo-grid", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class GridResizableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseGridResizableSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-grid name="grid">
<resizable columns="true" />
</kendo-grid>
Constructors
Initializes a new instance of the GridResizableSettingsTagHelper class.
public GridResizableSettingsTagHelper()
Properties
If set to true, users can resize columns by dragging the edges (resize handles) of their header cells. As of Kendo UI Q1 2015, users can also auto-fit a column by double-clicking its resize handle. In this case the column will assume the smallest possible width, which allows the column content to fit without wrapping.By default, column resizing is disabled.
public bool? Columns { get; set; }
If set to true, users can resize Grid rows by dragging their bottom edge. Users can also auto-fit a row by double-clicking its bottom edge. In this case the row will assume the smallest possible height, which allows the cells content to be fully displayed.In scenario where row selection is enabled, users are allowed to resize all selected rows at once by performing the resize interaction on one of them.By default, row resizing is disabled.
public bool? Rows { 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.