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


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