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


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