# GrapeCity.ActiveReports.Viewer.Win.Viewer.History

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_History_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.History*">History Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Win_Viewer_History_" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.History*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_History" data-uid="GrapeCity.ActiveReports.Viewer.Win.Viewer.History">History</h4>
<div class="markdown level1 summary"><p>Provides access to the history management functionality of the viewer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public IHistoryApi History { get; }</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="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.IHistoryApi.html">IHistoryApi</a></td>
      <td><p>An <a class="xref" href="../MESCIUS.ActiveReports.Viewer.Common/GrapeCity.Viewer.Common.IHistoryApi.html">IHistoryApi</a> instance that allows for navigating through the viewer's history.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_History_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property enables manipulation of the viewer's navigation history, allowing for operations such as moving forward
or backward through previously viewed documents or pages.</p>
</div>
<h5 id="GrapeCity_ActiveReports_Viewer_Win_Viewer_History_examples">Examples</h5>
<pre><code class="lang-csharp">private void ForwardButton_Click(object sender, EventArgs e)
{
    if (viewer.History.Position &lt; viewer.History.Count)
    {
        viewer.History.MoveNext();
    }
}</code></pre>

</div>
