Spread Windows Forms 12.0 Product Documentation
Size Property (ActionMap)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ActionMap Class : Size Property
Returns the number of mappings defined in this action map.
Syntax
'Declaration
 
Public ReadOnly Property Size As Integer
'Usage
 
Dim instance As ActionMap
Dim value As Integer
 
value = instance.Size
public int Size {get;}

Property Value

Integer number of mappings
Example
This example returns the number of mappings defined in this action map.
FarPoint.Win.Spread.ActionMap map, parent;
map = fpSpread1.GetActionMap();
object[] keys = map.AllKeys();
parent = map.Parent;
foreach (object key in keys)
{
       listBox1.Items.Add(parent.Get(key).ToString());;
}
Dim map, parent As FarPoint.Win.Spread.ActionMap
map = fpSpread1.GetActionMap()
Dim keys As Object() = map.AllKeys()
Dim key As Object
parent = map.Parent
For Each key In keys
       ListBox1.Items.Add(parent.Get(key).ToString())
Next
See Also

Reference

ActionMap Class
ActionMap Members