# GrapeCity.ActiveReports.Design.UndoManager.UndoDescription

## Content

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



<h1 id="GrapeCity_ActiveReports_Design_UndoManager_UndoDescription_" data-uid="GrapeCity.ActiveReports.Design.UndoManager.UndoDescription*">UndoDescription Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_UndoManager_UndoDescription_" data-uid="GrapeCity.ActiveReports.Design.UndoManager.UndoDescription*"></a>
<h4 id="GrapeCity_ActiveReports_Design_UndoManager_UndoDescription_System_Int32_" data-uid="GrapeCity.ActiveReports.Design.UndoManager.UndoDescription(System.Int32)">UndoDescription(int)</h4>
<div class="markdown level1 summary"><p>Retrieves a description of the specified undo action in a human-readable format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string UndoDescription(int index)</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.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>The zero-based index of the undo action for which to retrieve the description. Index 0 corresponds to the oldest action in the undo stack.</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.string">string</a></td>
      <td><p>A string containing the description of the specified undo action.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Design_UndoManager_UndoDescription_System_Int32__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method translates the index provided to match the internal representation used by the undo engine, where the last operation (the most recent one) has
an index of 0. It then retrieves the name or description of the undo action at the calculated index. This allows users to understand what action will be
undone if they perform an undo operation.</p>
</div>
</div>
