Spread Windows Forms 11.0 Product Documentation
Undo Field
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadActions Class : Undo Field
Performs an undo of the most recent edit or action.
Syntax
'Declaration
 
Public Shared ReadOnly Undo As Object
'Usage
 
Dim value As Object
 
value = SpreadActions.Undo
public static readonly object Undo
Example
This example undoes the last edit.
FarPoint.Win.Spread.InputMap im; 
im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused); 
im.Put(new FarPoint.Win.Spread.Keystroke(Keys.U, Keys.None), FarPoint.Win.Spread.SpreadActions.Undo);
Dim im As FarPoint.Win.Spread.InputMap
im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
im.Put(New FarPoint.Win.Spread.Keystroke(Keys.U, Keys.None), FarPoint.Win.Spread.SpreadActions.Undo)
Remarks

You can use this action along with a custom key combination by defining your own input or action map. For more information about maps, see Managing Keyboard Interactions.

See Also

Reference

SpreadActions Class
SpreadActions Members