Spread Windows Forms 11.0 Product Documentation
ClearSelectedCellsData Field
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadActions Class : ClearSelectedCellsData Field
Clears the selected cells which have data or formulas.
Syntax
'Declaration
 
Public Shared ReadOnly ClearSelectedCellsData As Object
'Usage
 
Dim value As Object
 
value = SpreadActions.ClearSelectedCellsData
public static readonly object ClearSelectedCellsData
Example
This example uses the ClearSelectedCellsData action.
FarPoint.Win.Spread.InputMap im;
im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
im.Put(new FarPoint.Win.Spread.Keystroke(Keys.L, Keys.None), FarPoint.Win.Spread.SpreadActions.ClearSelectedCellsData);
Dim im As FarPoint.Win.Spread.InputMap
im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
im.Put(New FarPoint.Win.Spread.Keystroke(Keys.L, Keys.None), FarPoint.Win.Spread.SpreadActions.ClearSelectedCellsData) 
See Also

Reference

SpreadActions Class
SpreadActions Members