Kendo UI contextMenu TagHelper FileManagerContextMenuSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("context-menu", ParentTag = "kendo-filemanager", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("items", new string[] { })]
[SuppressTagRendering]
public class FileManagerContextMenuSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseFileManagerContextMenuSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-filemanager name="filemanager">
<context-menu activate="onContextMenuActivate"></context-menu>
</kendo-filemanager>
<script>
function onContextMenuActivate(){
//handler logic here
}
</script>
Child Tags
Constructors
Initializes a new instance of the FileManagerContextMenuSettingsTagHelper class.
public FileManagerContextMenuSettingsTagHelper()
Properties
Fires when a sub menu or the ContextMenu gets opened and its animation finished. ContextMenu Events.
public string Activate { get; set; }
Fires before a sub menu or the ContextMenu gets closed. You can cancel this event to prevent closure. ContextMenu Events.
public string Close { get; set; }
Fires when a sub menu or the ContextMenu gets closed and its animation finished. ContextMenu Events.
public string Deactivate { get; set; }
Fires before a sub menu or the ContextMenu gets opened. You can cancel this event to prevent opening the sub menu. ContextMenu Events.
public string Open { 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.