Skip to main content

DxToolbar.Items Property

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

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[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.

<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