# GrapeCity.ActiveReports.Viewer.Wpf.Viewer.LoadCompleted

## Content

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




<h1 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_LoadCompleted" data-uid="GrapeCity.ActiveReports.Viewer.Wpf.Viewer.LoadCompleted" class="text-break">LoadCompleted Event
</h1>
<div class="markdown level0 summary"><p>Occurs after all the viewer pages have been fully loaded.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Viewer.Wpf.html">GrapeCity.ActiveReports.Viewer.Wpf</a></h6>
<h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Wpf.dll</h6>
<h5 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_LoadCompleted_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event LoadCompletedEventHandler LoadCompleted</code></pre>
</div>
<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="../MESCIUS.ActiveReports.Core.Document/GrapeCity.ActiveReports.Core.Document.LoadCompletedEventHandler.html">LoadCompletedEventHandler</a></td>
      <td>Occurs after all the viewer pages have been fully loaded.</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Viewer_Wpf_Viewer_LoadCompleted_examples"><strong>Examples</strong></h5>
<pre><code class="lang-csharp">viewer.LoadCompleted += (sender, e) =&gt;
{
    // Handle the LoadCompleted event
    // For example, update the status bar with the total number of pages
    statusBarLabel.Text = $"Total Pages: {viewer.Document.Pages.Count}";
};</code></pre>

</div>
