# FarPoint.Win.Spread.UndoRedo.ChildChangeUndoAction.SaveUndoState

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_UndoRedo_ChildChangeUndoAction_SaveUndoState_" data-uid="FarPoint.Win.Spread.UndoRedo.ChildChangeUndoAction.SaveUndoState*">SaveUndoState Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_UndoRedo_ChildChangeUndoAction_SaveUndoState_" data-uid="FarPoint.Win.Spread.UndoRedo.ChildChangeUndoAction.SaveUndoState*"></a>
<h4 id="FarPoint_Win_Spread_UndoRedo_ChildChangeUndoAction_SaveUndoState" data-uid="FarPoint.Win.Spread.UndoRedo.ChildChangeUndoAction.SaveUndoState">SaveUndoState()</h4>
<div class="markdown level1 summary"><p>Saves the undo state before the change.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override bool SaveUndoState()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Function SaveUndoState() As Boolean</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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>Boolean: true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="FarPoint.Win.Spread.UndoRedo.UndoAction.SaveUndoState.html#FarPoint_Win_Spread_UndoRedo_UndoAction_SaveUndoState">UndoAction.SaveUndoState()</a></div>
<h5 id="FarPoint_Win_Spread_UndoRedo_ChildChangeUndoAction_SaveUndoState_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This object saves undo state on construction, rather than during PerformUndoAction, since the shape object implements the user interface to make the changes to itself. The SpreadView will call PerformUndoAction when the shape's UIChangeComplete event fires and edit mode is off (if the shape is a cell note).</p>
</div>
</div>
