Kendo UI FileManagerViewsGridSettingsColumn TagHelper FileManagerViewsGridSettingsColumnTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("column", ParentTag = "filemanager-grid-columns", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("header-template", new string[] { "item-template" })]
[SuppressTagRendering]
public class FileManagerViewsGridSettingsColumnTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseFileManagerViewsGridSettingsColumnTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-filemanager name="filemanager">
<views>
<grid>
<filemanager-grid-columns>
<column field="name" encoded="false" />
</filemanager-grid-columns>
</grid>
</views>
</kendo-filemanager>
Child Tags
Constructors
Initializes a new instance of the FileManagerViewsGridSettingsColumnTagHelper class.
public FileManagerViewsGridSettingsColumnTagHelper()
Properties
If set to true the column value will be HTML-encoded before it is displayed. If set to false the column value will be displayed as is. By default the column value is HTML-encoded.
public bool? Encoded { get; set; }
The template which renders the column header content. By default the value of the title column option is displayed in the column header cell.
public string HeaderTemplate { get; set; }
The template which renders the column header content. By default the value of the title column option is displayed in the column header cell. This option expects the name of a JavaScript function that will be called to return the template.
public string HeaderTemplateHandler { get; set; }
The template which renders the column header content. By default the value of the title column option is displayed in the column header cell. This option expects the ID of the script element that contains the template.
public string HeaderTemplateId { get; set; }
The template which renders the column header content. By default the value of the title column option is displayed in the column header cell. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent HeaderTemplateView { get; set; }
If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column.
public bool? Sortable { get; set; }
If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column.
public string Template { get; set; }
If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column. This option expects the name of a JavaScript function that will be called to return the template.
public string TemplateHandler { get; set; }
If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column. This option expects the ID of the script element that contains the template.
public string TemplateId { get; set; }
Configures the templates for the component.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
If set to true the user can click the column header and sort the grid by the column field when sorting is enabled. If set to false sorting will be disabled for this column. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent TemplateView { get; set; }
The text that is displayed in the column header cell. If not set the field is used.
public string Title { 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.