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


In This Topic
    MoveChildUp Field
    In This Topic
    Moves the active object up.
    Syntax
    'Declaration
     
    Public Shared ReadOnly MoveChildUp As Object
    'Usage
     
    Dim value As Object
     
    value = SpreadActions.MoveChildUp
    public static readonly object MoveChildUp
    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.MoveChildUp);
    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.MoveChildUp)
    See Also