# GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems" class="text-break">ToolbarItems Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of toolbar items in the viewer's toolbar.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ToolbarItems</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.html">GrapeCity.ActiveReports.Blazor.Viewer</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Blazor.Viewer.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ToolbarItems : IDisposable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <code>ToolbarItems</code> class provides methods to add, update, and remove items from the toolbar, as well as manage the order and visibility of these items.</p>
</div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_AddItem_GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItem_" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.AddItem(GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItem)">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.AddItem.html#GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_AddItem_GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItem_">AddItem(ToolbarItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new item to the toolbar.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_Dispose" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.Dispose.html#GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_GetKeys" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.GetKeys">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.GetKeys.html#GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_GetKeys">GetKeys()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns identifiers of default and added buttons in the order in which they will be displayed in the toolbar.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_Layout_System_String___" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.Layout(System.String[])">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.Layout.html#GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_Layout_System_String___">Layout(string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the keys of the visible toolbar items and their order.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_RemoveItem_System_String_" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.RemoveItem(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.RemoveItem.html#GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_RemoveItem_System_String_">RemoveItem(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes existing item from the toolbar.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_UpdateItem_System_String_GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItem_" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.UpdateItem(System.String,GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItem)">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ToolbarItems.UpdateItem.html#GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItems_UpdateItem_System_String_GrapeCity_ActiveReports_Blazor_Viewer_ToolbarItem_">UpdateItem(string, ToolbarItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates a previously added toolbar item.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
