# GrapeCity.ActiveReports.Design.Toolbox.BaseToolbox.ChangeVisibilityCategory

## Content

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



<h1 id="GrapeCity_ActiveReports_Design_Toolbox_BaseToolbox_ChangeVisibilityCategory_" data-uid="GrapeCity.ActiveReports.Design.Toolbox.BaseToolbox.ChangeVisibilityCategory*">ChangeVisibilityCategory Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_Toolbox_BaseToolbox_ChangeVisibilityCategory_" data-uid="GrapeCity.ActiveReports.Design.Toolbox.BaseToolbox.ChangeVisibilityCategory*"></a>
<h4 id="GrapeCity_ActiveReports_Design_Toolbox_BaseToolbox_ChangeVisibilityCategory_System_String_System_Boolean_" data-uid="GrapeCity.ActiveReports.Design.Toolbox.BaseToolbox.ChangeVisibilityCategory(System.String,System.Boolean)">ChangeVisibilityCategory(string, bool)</h4>
<div class="markdown level1 summary"><p>Changes the visibility of the specified category in the toolbox.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ChangeVisibilityCategory(string category, bool enableVisibility)</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.string">string</a></td>
      <td><span class="parametername">category</span></td>
      <td><p>The name of the category to change the visibility of.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">enableVisibility</span></td>
      <td><p>A boolean value indicating whether to make the category visible (<code>true</code>) or hidden (<code>false</code>).</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_Toolbox_BaseToolbox_ChangeVisibilityCategory_System_String_System_Boolean__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method sets the visibility state of the specified category and all its tools.
When a category is hidden, all tools within that category are also hidden.</p>
</div>
</div>
