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


In This Topic
    ExtendToPreviousColumnWithData Field
    In This Topic
    Extends the selection left to previous column with data.
    Syntax
    'Declaration
     
    Public Shared ReadOnly ExtendToPreviousColumnWithData As Object
    'Usage
     
    Dim value As Object
     
    value = SpreadActions.ExtendToPreviousColumnWithData
    public static readonly object ExtendToPreviousColumnWithData
    Example
    This example uses the ExtendToPreviousColumnWithData 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.ExtendToPreviousColumnWithData);
    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.ExtendToPreviousColumnWithData)
    See Also