BootstrapMenuBuilder.SubMenuTemplate(TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings>) Method

Sets a common template used for displaying the client region's content of all submenus within a menu control.

Namespace: DevExpress.AspNetCore.Bootstrap

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

Declaration

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

Parameters

Type Name Description
TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings> subMenuTemplate

Returns

Type Description
BootstrapMenuBuilder