Spread Windows Forms 11.0 Product Documentation
DeleteChild Field
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadActions Class : DeleteChild Field
Deletes the active object.
Syntax
'Declaration
 
Public Shared ReadOnly DeleteChild As Object
'Usage
 
Dim value As Object
 
value = SpreadActions.DeleteChild
public static readonly object DeleteChild
Example
This example sets the key for the spread action.
FarPoint.Win.Spread.InputMap im;
im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
im.Put(new FarPoint.Win.Spread.Keystroke(Keys.X, Keys.None), FarPoint.Win.Spread.SpreadActions.DeleteChild);
Dim im As FarPoint.Win.Spread.InputMap
im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused)
im.Put(New FarPoint.Win.Spread.Keystroke(Keys.X, Keys.None), FarPoint.Win.Spread.SpreadActions.DeleteChild)
See Also

Reference

SpreadActions Class
SpreadActions Members