# GrapeCity.ActiveReports.Design.Designer.QueryActionChecked

## Content

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



<h1 id="GrapeCity_ActiveReports_Design_Designer_QueryActionChecked_" data-uid="GrapeCity.ActiveReports.Design.Designer.QueryActionChecked*">QueryActionChecked Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_Designer_QueryActionChecked_" data-uid="GrapeCity.ActiveReports.Design.Designer.QueryActionChecked*"></a>
<h4 id="GrapeCity_ActiveReports_Design_Designer_QueryActionChecked_GrapeCity_ActiveReports_Design_DesignerAction_" data-uid="GrapeCity.ActiveReports.Design.Designer.QueryActionChecked(GrapeCity.ActiveReports.Design.DesignerAction)">QueryActionChecked(DesignerAction)</h4>
<div class="markdown level1 summary"><p>Determines whether a specific designer action is currently in the checked (selected) state.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool QueryActionChecked(DesignerAction action)</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="GrapeCity.ActiveReports.Design.DesignerAction.html">DesignerAction</a></td>
      <td><span class="parametername">action</span></td>
      <td><p>The <a class="xref" href="GrapeCity.ActiveReports.Design.DesignerAction.html">DesignerAction</a> to evaluate. This parameter specifies the action whose state is being queried.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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><pre><code>&lt;code&gt;true&lt;/code&gt; if the specified action is checked; otherwise, &lt;code&gt;false&lt;/code&gt;. The return value indicates the current state of the action within 
</code></pre>
<p>the designer environment.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_Designer_QueryActionChecked_GrapeCity_ActiveReports_Design_DesignerAction__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method is used to query the state of actions that can be toggled on or off within the designer. For example, it can be used to check whether grid
alignment is enabled or whether a specific tool is currently active.</p>
</div>
</div>
