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

Glossary Item Box

Gets the number of selections on this sheet.


Visual Basic (Declaration) 
Public ReadOnly Property SelectionCount As Integer
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Integer
value = instance.SelectionCount
public int SelectionCount {get;}

Property Value

Integer number of selections on the sheet


This property is available at run time only.


This example illustrates the use of this member by returning the number of selections in the sheet.
C#Copy Code
fpSpread1.ActiveSheet.AddSelection(0, 0, 2, 2);
fpSpread1.ActiveSheet.AddSelection(3, 0, 2, 2);
Visual BasicCopy Code
FpSpread1.ActiveSheet.AddSelection(0, 0, 2, 2)
FpSpread1.ActiveSheet.AddSelection(3, 0, 2, 2)


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.