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


In This Topic
    DeactivateShape Field
    In This Topic
    Deactivates the currently selected shape.
    Syntax
    'Declaration
     
    Public Shared ReadOnly DeactivateShape As Object
    'Usage
     
    Dim value As Object
     
    value = SpreadActions.DeactivateShape
    public static readonly object DeactivateShape
    Example
    This example deactivates the selected shape.
    FarPoint.Win.Spread.InputMap im; 
    im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused); 
    im.Put(new FarPoint.Win.Spread.Keystroke(Keys.D, Keys.None), FarPoint.Win.Spread.SpreadActions.DeactivateShape);
    Dim im As FarPoint.Win.Spread.InputMap
    im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
    im.Put(New FarPoint.Win.Spread.Keystroke(Keys.D, Keys.None), FarPoint.Win.Spread.SpreadActions.DeactivateShape)
    See Also

    Reference

    SpreadActions Class
    SpreadActions Members

    User-Task Documentation

    Using Shapes