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
)
Public Function RootItemTemplate(
    rootItemTemplate As TemplateContentCallback(Of BootstrapMenuItemTemplateContainerSettings)
) As BootstrapMenuBuilder

Parameters

Type Name Description
TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings> rootItemTemplate

Returns

Type Description
BootstrapMenuBuilder

See Also