# GrapeCity.ActiveReports.Design.Designer.EnableScripting

## Content

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



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



<a id="GrapeCity_ActiveReports_Design_Designer_EnableScripting_" data-uid="GrapeCity.ActiveReports.Design.Designer.EnableScripting*"></a>
<h4 id="GrapeCity_ActiveReports_Design_Designer_EnableScripting" data-uid="GrapeCity.ActiveReports.Design.Designer.EnableScripting">EnableScripting</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether the 'Script' tab is visible on the design surface 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 bool EnableScripting { 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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> if the 'Script' tab is enabled and visible; otherwise, <code>false</code>. The default is <code>true</code>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_Designer_EnableScripting_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property controls the visibility of the 'Script' tab, allowing users to interact with the scripting features of the report designer.
When set to <code>false</code>, the 'Script' tab is hidden, restricting access to script editing functionalities.</p>
</div>
<h5 id="GrapeCity_ActiveReports_Design_Designer_EnableScripting_examples">Examples</h5>
<pre><code class="lang-csharp">// Enable the scripting tab in the designer
designer.EnableScripting = true;
// Disable the scripting tab in the designer
designer.EnableScripting = false;</code></pre>

</div>
