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

MVCxTreeListToolbarItem.SetTextTemplateContent(Action<MenuItemTemplateContainer>) Method

Allows you to provide a template for rendering the toolbar item's text content.

Namespace: DevExpress.Web.Mvc

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


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


Name Type Description
contentMethod Action<MenuItemTemplateContainer>

A method to which a template content rendering is delegated.

See Also