Spread Windows Forms 12.0 Product Documentation
Remove Method (ActionMap)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ActionMap Class : Remove Method
Specified keyboard key
Removes the binding to an action for the specified key.
Syntax
'Declaration
 
Public Sub Remove( _
   ByVal key As Object _
) 
'Usage
 
Dim instance As ActionMap
Dim key As Object
 
instance.Remove(key)
public void Remove( 
   object key
)

Parameters

key
Specified keyboard key
Example
This example removes the keys for the map.
FarPoint.Win.Spread.ActionMap map;
map = fpSpread1.GetActionMap();
object[] keys = map.AllKeys;
foreach (object key in keys)
{
       map.Remove(key);
}
listBox1.Items.Add(key);
Dim map As FarPoint.Win.Spread.ActionMap
map = fpSpread1.GetActionMap()
Dim keys As Object() = map.AllKeys()
Dim key As Object
For Each key In keys
       map.Remove(key)
Next
ListBox1.Items.Add(key)
See Also

Reference

ActionMap Class
ActionMap Members