Kendo UI FileManagerContextMenuSettingsItem TagHelper FileManagerContextMenuSettingsItemTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("item", ParentTag = "items", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("icon", new string[] { })]
[SuppressTagRendering]
public class FileManagerContextMenuSettingsItemTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseFileManagerContextMenuSettingsItemTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-filemanager name="filemanager">
<context-menu>
<items>
<item command="customCommand" />
</items>
</context-menu>
</kendo-filemanager>
Child Tags
Constructors
Initializes a new instance of the FileManagerContextMenuSettingsItemTagHelper class.
public FileManagerContextMenuSettingsItemTagHelper()
Properties
Specifies the icon of the item.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
[HtmlAttributeName("icon")]
public string Icon { get; set; }
Specifies the spriteCssClass of the item.
public string SpriteCssClass { 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.