[]
ITagHelper implementation for MenuItem.
[HtmlTargetElement("c1-menu-item")]
public class MenuItemTagHelper : SettingTagHelper<MenuItem>, ITagHelper, ITagHelperComponent
<HtmlTargetElement("c1-menu-item")>
Public Class MenuItemTagHelper
Inherits SettingTagHelper(Of MenuItem)
Implements ITagHelper, ITagHelperComponent
| Name | Description |
|---|---|
| MenuItemTagHelper() |
| Name | Description |
|---|---|
| CanExecuteCommand | Configurates CanExecuteCommand in MenuItem. Sets the method returns a Boolean value that determines whether the controller can execute the command. |
| CollectionName | Gets the collection name. |
| CommandParameter | Configurates CommandParameter. Sets the associated menu command parameter. |
| ExecuteCommand | Configurates ExecuteCommand in MenuItem. Sets the method executes the command. |
| Header | Configurates Header. Sets the header of the menu item. |
| IsSeparator | Configurates IsSeparator. Sets whether the MenuItem is a separator. |
| Name | Description |
|---|---|
| ProcessChildContent(object, TagHelperContent) | Processes the child content. |
| UpdateProperty(string, object) | Updates the property in TObject. It is used to update the child property manually instead of the default one. |