Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxToolbar.Items Property

Provides access to the Toolbar’s root-level items.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public RenderFragment Items { get; set; }

#Property Value

Type Description
RenderFragment

A collection of items (UI fragment) that the browser renders in the corresponding component’s markup.

#Remarks

You can specify Toolbar items directly between the <DxToolbar> and </DxToolbar> tags or add them to the Items collection.

Razor
<DxToolbar>
    <DxToolbarItem Text="Insert"></DxToolbarItem>
    <DxToolbarItem Text="Edit"></DxToolbarItem>
    <DxToolbarItem Text="Delete"></DxToolbarItem>
</DxToolbar>
@* OR *@
<DxToolbar>
    <Items>
      <DxToolbarItem Text="Insert"></DxToolbarItem>
      <DxToolbarItem Text="Edit"></DxToolbarItem>
      <DxToolbarItem Text="Delete"></DxToolbarItem>
    </Items>
</DxToolbar>
See Also