# GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_ActionEventArgs__ctor_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.#ctor*">ActionEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_ActionEventArgs__ctor_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_ActionEventArgs__ctor" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.#ctor">ActionEventArgs()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.html">Viewer.ActionEventArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ActionEventArgs()</code></pre>
</div>


<a id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_ActionEventArgs__ctor_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_ActionEventArgs__ctor_GrapeCity_Viewer_Common_Model_Interactivity_IAction_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.#ctor(GrapeCity.Viewer.Common.Model.Interactivity.IAction)">ActionEventArgs(IAction)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.html">Viewer.ActionEventArgs</a> class with the specified action.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ActionEventArgs(IAction 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="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.Model.Interactivity.IAction.html">IAction</a></td>
      <td><span class="parametername">action</span></td>
      <td><p>The action associated with the event.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_ActionEventArgs__ctor_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_ActionEventArgs__ctor_GrapeCity_Viewer_Common_Model_Interactivity_IAction_System_Int32_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.#ctor(GrapeCity.Viewer.Common.Model.Interactivity.IAction,System.Int32)">ActionEventArgs(IAction, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.html">Viewer.ActionEventArgs</a> class with the specified action and page number.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ActionEventArgs(IAction action, int pageNumber)</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="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.Model.Interactivity.IAction.html">IAction</a></td>
      <td><span class="parametername">action</span></td>
      <td><p>The action associated with the event.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">pageNumber</span></td>
      <td><p>The page number associated with the event.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
