# GrapeCity.ActiveReports.Viewer.Wpf.Viewer.OnAction

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_OnAction_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.OnAction*">OnAction Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_OnAction_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.OnAction*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_OnAction_System_Object_GrapeCity_ActiveReports_Viewer_Wpf_Viewer_ActionEventArgs_" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.OnAction(System.Object,GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs)">OnAction(object, ActionEventArgs)</h4>
<div class="markdown level1 summary"><p>Helper method fires RenderingCompleted event when appropriate.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void OnAction(object sender, Viewer.ActionEventArgs e)</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.object">object</a></td>
      <td><span class="parametername">sender</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.html">Viewer</a>.<a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.ActionEventArgs.html">ActionEventArgs</a></td>
      <td><span class="parametername">e</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
