BootstrapToolbarMenuItemBuilder.Template(TemplateContentCallback<BootstrapToolbarMenuItemTemplateContainerSettings>) 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 BootstrapToolbarMenuItemBuilder Template(
    TemplateContentCallback<BootstrapToolbarMenuItemTemplateContainerSettings> template
)
Public Function Template(
    template As TemplateContentCallback(Of BootstrapToolbarMenuItemTemplateContainerSettings)
) As BootstrapToolbarMenuItemBuilder

Parameters

Name Type Description
template TemplateContentCallback<BootstrapToolbarMenuItemTemplateContainerSettings>

Returns

Type Description
BootstrapToolbarMenuItemBuilder

Remarks

Important

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

See Also