Skip to main content

BootstrapMenuBuilder.RootItemTemplate(TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings>) Method

Sets a common template used for displaying the content of all root items within a menu control.

Namespace: DevExpress.AspNetCore.Bootstrap

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

Declaration

public BootstrapMenuBuilder RootItemTemplate(
    TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings> rootItemTemplate
)

Parameters

Name Type
rootItemTemplate TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings>

Returns

Type
BootstrapMenuBuilder

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