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


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