Spread Windows Forms 6.0 Product Documentation
Size Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > InputMap Class : Size Property


Glossary Item Box

Returns the number of mappings defined in this input map.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Size As Integer
Visual Basic (Usage)Copy Code
Dim instance As InputMap
Dim value As Integer
 
value = instance.Size
C# 
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.
C#Copy Code
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());
Visual BasicCopy Code
Dim im As New FarPoint.Win.Spread.InputMap()
im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
ListBox1.Items.Add(im.Parent.Size.ToString())

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.