BootstrapMenuItemBuilder.TextTemplate(TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings>) Method

Sets a template used for displaying the text content of the current menu item.

Namespace: DevExpress.AspNetCore.Bootstrap

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

Declaration

public BootstrapMenuItemBuilder TextTemplate(
    TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings> textTemplate
)
Public Function TextTemplate(
    textTemplate As TemplateContentCallback(Of BootstrapMenuItemTemplateContainerSettings)
) As BootstrapMenuItemBuilder

Parameters

Type Name Description
TemplateContentCallback<BootstrapMenuItemTemplateContainerSettings> textTemplate

Returns

Type Description
BootstrapMenuItemBuilder

See Also