New to Telerik UI for Blazor? Start a free 30-day trial

Context Menu Group Header Template

Updated on Nov 10, 2026

Use the GroupHeaderTemplate to render custom content in a Context Menu group header.

The template receives a GroupHeaderTemplateContext<TItem> object as its context. The object exposes the following properties:

PropertyTypeDescription
ItemTItemThe data item of the current group header.
IndexstringThe position of the group header in the data hierarchy. The value uses the same format as the Index of the ItemActionsTemplate context.

The content of the GroupHeaderTemplate must remain non-interactive. Do not render buttons, links, or other focusable elements in it.

Customize the Context Menu group headers

Example
View Source
Loading ...

See Also

In this article
See Also
Not finding the help you need?
Contact Support