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


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

Property Value

Integer number of parent mappings
Example
This example illustrates the use of this member by returning the size of the parent's mappings for the input map.
FarPoint.Win.Spread.InputMap im = new FarPoint.Win.Spread.InputMap();
im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
listBox1.Items.Add(im.Parent.Size.ToString());
Dim im As New FarPoint.Win.Spread.InputMap()
im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
ListBox1.Items.Add(im.Parent.Size.ToString())
See Also

Reference

InputMap Class
InputMap Members