BootstrapMenuItemBuilder.Template(TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings>) Method

Sets a template used to display the content of the current menu item.

Namespace: DevExpress.AspNetCore.Bootstrap

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

Declaration

public BootstrapMenuItemBuilder Template(
    TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings> template
)
Public Function Template(
    template As TemplateContentCallback(Of BootstrapMenuItemTemplateContainerSettings)
) As BootstrapMenuItemBuilder

Parameters

Type Name Description
TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings> template

Returns

Type Description
BootstrapMenuItemBuilder

See Also