property Grid.CanUndo as Boolean
Retrieves a value that indicates whether the control can perform an Undo operation.

TypeDescription
Boolean A Boolean expression that specifies whether the control can perform the last Undo operation.
For instance, you can use the CanUndo property to update the Undo button in your toolbar, so the user knows that Undo operations in the control may be performed. Call the Undo method to Undo the last control operation. By default, the if the AllowUndoRedo property is True, the CTRL+Z performs the last Undo operation. The CanRedo property retrieves a value that specifies whether the control can execute the next operation in the control's Redo queue. The Redo redoes the next action in the control's redo queue. If the AllowUndoRedo property is True, the CTRL+Y redoes the next action in the control's Redo queue. The UndoListAction property lists the Undo actions that can be performed in the control. The RedoListAction property lists the Redo actions that can be performed in the control.