Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ActionMap Class / ActionMap Constructor
Example


In This Topic
    ActionMap Constructor
    In This Topic
    Initializes an action map with no parent and no mappings.
    Syntax
    'Declaration
     
    Public Function New()
    'Usage
     
    Dim instance As New ActionMap()
    public ActionMap()
    Example
    This example returns all the default maps.
    FarPoint.Win.Spread.ActionMap map;
    map = fpSpread1.GetActionMap();
    object[] keys = map.AllKeys();
    foreach (object key in keys)
    {
           listBox1.Items.Add(key);
    }
    
    Dim map As FarPoint.Win.Spread.ActionMap, AllKeys
    map = FpSpread1.GetActionMap()
    Dim keys As Object() = map.AllKeys()
    Dim key As Object
    For Each key In keys
           ListBox1.Items.Add(key)
    Next
    See Also