Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadActions Class / ClearSelectedCellsData Field
Example


In This Topic
    ClearSelectedCellsData Field
    In This Topic
    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