A newer version of this page is available. Switch to the current version.

MVCxTreeListToolbarItem.SetSubMenuTemplateContent(Action<MenuItemTemplateContainer>) Method

Allows you to provide a template for rendering the client region's content of the current toolbar item's subitems.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll


public void SetSubMenuTemplateContent(
    Action<MenuItemTemplateContainer> contentMethod
Public Sub SetSubMenuTemplateContent(
    contentMethod As Action(Of MenuItemTemplateContainer)


Name Type Description
contentMethod Action<MenuItemTemplateContainer>

A method to which a template content rendering is delegated.

See Also