BootstrapMenuItemBuilder.SubMenuTemplate(TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings>) Method

Sets a template used for displaying the client region's content of the current menu item's submenus.

Namespace: DevExpress.AspNetCore.Bootstrap

Assembly: DevExpress.AspNetCore.Bootstrap.v18.1.dll

Declaration

public BootstrapMenuItemBuilder SubMenuTemplate(
    TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings> subMenuTemplate
)
Public Function SubMenuTemplate(
    subMenuTemplate As TemplateContentCallback(Of BootstrapMenuItemTemplateContainerSettings)
) As BootstrapMenuItemBuilder

Parameters

Type Name Description
TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings> subMenuTemplate

Returns

Type Description
BootstrapMenuItemBuilder