[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.MenuItemTagHelper

MenuItemTagHelper Class

ITagHelper implementation for MenuItem.

Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
[HtmlTargetElement("c1-menu-item")]
public class MenuItemTagHelper : SettingTagHelper<MenuItem>, ITagHelper, ITagHelperComponent

Constructors

Name Description
MenuItemTagHelper()

Properties

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.

Methods

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.