# Context Menu Item Actions Template

The Context Menu `ItemActionsTemplate` renders optional trailing content in each item, for example, a keyboard shortcut, metadata, or a hint. The Context Menu renders this content after the item text and [description](https://www.telerik.com/blazor-ui/documentation/components/contextmenu/data-binding/overview#context-menu-item-features), and before the expand arrow of items with children.

The template receives an `ItemActionsTemplateContext<TItem>` object as its `context`. The object exposes the following properties:

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Property | Type     | Description                                                                                                                                                                                                                                                                                                                                                                                                        |
| -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Item`   | `TItem`  | The data item of the current Context Menu item.                                                                                                                                                                                                                                                                                                                                                                    |
| `Index`  | `string` | The position of the item in the data hierarchy. The indexes of the different levels are joined by an underscore. For example, `"1_3"` is the fourth child of the second root item. The value counts group headers and separators, so it is unique across the `ItemActionsTemplate` and the [`GroupHeaderTemplate`](https://www.telerik.com/blazor-ui/documentation/components/contextmenu/templates/group-header). |

The `ItemActionsTemplate` works independently of the [`ItemTemplate`](https://www.telerik.com/blazor-ui/documentation/components/contextmenu/templates/item). The `ItemTemplate` replaces only the default icon and text of the item.

> note The Context Menu does not provide keyboard navigation for the content of the `ItemActionsTemplate`. Use the template for informational content, such as shortcuts, rather than for interactive elements.

> caption Show keyboard shortcuts and descriptions in the Context Menu items

<demo metaUrl="client/contextmenu/templates/item-actions/" height="400"></demo>

## See Also

* [Context Menu Templates Overview](https://www.telerik.com/blazor-ui/documentation/components/contextmenu/templates/overview)
* [Context Menu Group Header Template](https://www.telerik.com/blazor-ui/documentation/components/contextmenu/templates/group-header)
* [Data Binding a Context Menu](https://www.telerik.com/blazor-ui/documentation/components/contextmenu/data-binding/overview)
