Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / TabStrip Class / Count Property
Example


In This Topic
    Count Property (TabStrip)
    In This Topic
    Gets the number of sheet tabs displayed.
    Syntax
    'Declaration
     
    Public ReadOnly Property Count As Integer
    'Usage
     
    Dim instance As TabStrip
    Dim value As Integer
     
    value = instance.Count
    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.
    int i;
    
    i = fpSpread1.TabStrip.Count;
    MessageBox.Show(i.ToString());
    Dim i As Integer
    
    i = fpSpread1.TabStrip.Count
    MessageBox.Show(i.ToString())
    
    See Also