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


Glossary Item Box

Gets the number of sheet tabs displayed.

Syntax

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

Property Value

Integer number of tabs displayed

Remarks

This property is available at run time only.

Example

This example returns the number of sheet tabs in the collection.
C#Copy Code
int i;

i = fpSpread1.TabStrip.Count;
MessageBox.Show(i.ToString());
Visual BasicCopy Code
Dim i As Integer

i = FpSpread1.TabStrip.Count
MessageBox.Show(i.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.