# GrapeCity.ActiveReports.Design.Designer.ToolPanel

## Content

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



<h1 id="GrapeCity_ActiveReports_Design_Designer_ToolPanel_" data-uid="GrapeCity.ActiveReports.Design.Designer.ToolPanel*">ToolPanel Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_Designer_ToolPanel_" data-uid="GrapeCity.ActiveReports.Design.Designer.ToolPanel*"></a>
<h4 id="GrapeCity_ActiveReports_Design_Designer_ToolPanel" data-uid="GrapeCity.ActiveReports.Design.Designer.ToolPanel">ToolPanel</h4>
<div class="markdown level1 summary"><p>Gets or sets a value representing the tools that are available in the designer's tool panel.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ToolPanelButton ToolPanel { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Design.ToolPanelButton.html">ToolPanelButton</a></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.Design.ToolPanelButton.html">ToolPanelButton</a> value that specifies the buttons displayed in the tool panel. The default is <a class="xref" href="GrapeCity.ActiveReports.Design.ToolPanelButton.html#GrapeCity_ActiveReports_Design_ToolPanelButton_All">All</a>, which displays
all available tools.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_Designer_ToolPanel_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The tool panel provides quick access to various actions and settings within the designer. This property allows for customization of the tool panel by
specifying which buttons should be available. For example, you can limit the tool panel to only show zoom controls or the grid toggle button, depending on the
needs of your application.</p>
<p>
Use the <a class="xref" href="GrapeCity.ActiveReports.Design.ToolPanelButton.html">ToolPanelButton</a> enumeration to configure the available tools. This can enhance the user interface by simplifying the tool panel based on 
the context of the task being performed.
</p>
</div>
<h5 id="GrapeCity_ActiveReports_Design_Designer_ToolPanel_examples">Examples</h5>
<pre><code class="lang-csharp">// To hide specific items from the tool panel, use the ToolPanel property.
// The following code removes the zoom slider from the tool panel:
designer.ToolPanel = ToolPanelButton.All ^ ToolPanelButton.ZoomSlider;
// To remove multiple items, such as Dimension Lines, Grid Mode, Snap Grid, Snap Lines, and Mouse Mode, you can combine them like this:
designer.ToolPanel = ToolPanelButton.All ^ ToolPanelButton.DimensionLines ^ ToolPanelButton.GridMode;</code></pre>

</div>
