Spread Windows Forms 12.0 Product Documentation
DeactivateShape Field
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadActions Class : DeactivateShape Field
Deactivates the currently selected shape. This field is read-only.
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