# GrapeCity.ActiveReports.Design.Toolbox.FlatToolbox.AddToolboxItem

## Content

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



<h1 id="GrapeCity_ActiveReports_Design_Toolbox_FlatToolbox_AddToolboxItem_" data-uid="GrapeCity.ActiveReports.Design.Toolbox.FlatToolbox.AddToolboxItem*">AddToolboxItem Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_Toolbox_FlatToolbox_AddToolboxItem_" data-uid="GrapeCity.ActiveReports.Design.Toolbox.FlatToolbox.AddToolboxItem*"></a>
<h4 id="GrapeCity_ActiveReports_Design_Toolbox_FlatToolbox_AddToolboxItem_System_Drawing_Design_ToolboxItem_System_String_" data-uid="GrapeCity.ActiveReports.Design.Toolbox.FlatToolbox.AddToolboxItem(System.Drawing.Design.ToolboxItem,System.String)">AddToolboxItem(ToolboxItem, string)</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.design.toolboxitem">ToolboxItem</a> to the toolbox, creating the optionally specified category if it does not exist.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void AddToolboxItem(ToolboxItem toolboxItem, string category)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.design.toolboxitem">ToolboxItem</a></td>
      <td><span class="parametername">toolboxItem</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.design.toolboxitem">ToolboxItem</a> to add to the toolbox.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">category</span></td>
      <td><p>The category to add the toolbox item to. If the category does not exist, it will be created.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="GrapeCity.ActiveReports.Design.Toolbox.BaseToolbox.AddToolboxItem.html#GrapeCity_ActiveReports_Design_Toolbox_BaseToolbox_AddToolboxItem_System_Drawing_Design_ToolboxItem_System_String_">BaseToolbox.AddToolboxItem(ToolboxItem, string)</a></div>
</div>
