---
title: "MultiLayerViewer..::.CanUndo Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_CanUndo.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# MultiLayerViewer.CanUndo Property 
 
Indicates if the last action can be undone.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
 
## Syntax
  
```
<BrowsableAttribute(False)> _
Public ReadOnly Property CanUndo As Boolean
```
 
```csharp
[BrowsableAttribute(false)]
public bool CanUndo { get; }
```
 
### Property Value
A value specifying if the last action can be undone.
 
### Implements
 
[IStateNavigable.CanUndo](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_IStateNavigable_CanUndo.htm.md)
 
## Remarks
  
If the undo/redo functionality is disabled ([UndoRedoEnabled](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_UndoRedoEnabled.htm.md) is set to **false**), this property always returns **false**.
   
## See Also

### Reference

- [MultiLayerViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_MultiLayerViewer.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
- [MultiLayerViewer.Undo()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_Undo.htm.md)
