Kendo UI SpreadsheetSheet TagHelper SpreadsheetSheetTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("sheet", ParentTag = "sheets", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("columns", new string[] { "filter", "rows", "sort", "datasource", "drawings" })]
[SuppressTagRendering]
public class SpreadsheetSheetTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent, IDataBoundWidget<DataSourceTagHelper>
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseSpreadsheetSheetTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-spreadsheet name="spreadsheet">
<sheets>
<sheet name="Sheet1" active-cell="A1"></sheet>
</sheets>
</kendo-spreadsheet>
Child Tags
Constructors
Initializes a new instance of the SpreadsheetSheetTagHelper class.
public SpreadsheetSheetTagHelper()
Properties
The active cell in the sheet, for example, A1.
public string ActiveCell { get; set; }
The number of frozen columns in this sheet.
public double? FrozenColumns { get; set; }
The number of frozen rows in this sheet.
public double? FrozenRows { get; set; }
The Merged Cells of the Sheet
public string[] MergedCells { get; set; }
The selected range in the sheet, for example, A1:B10.
public string Selection { get; set; }
A Boolean value which indicates if the grid lines of the sheet will be displayed.
public bool? ShowGridLines { 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.