Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpreadTreeHelper Class / GetTabStripChildRectangle Method
The FpSpread control.
The order of the element.
A TabStripButton value represents the type of element.
An integer value represents the order of sheet tab. -1 if the element is not a sheet tab.


In This Topic
    GetTabStripChildRectangle Method
    In This Topic
    Gets the rectangle of an element inside the tab strip.
    Syntax
    'Declaration
     
    
    Public Shared Function GetTabStripChildRectangle( _
       ByVal spread As FpSpread, _
       ByVal index As Integer, _
       ByRef tabStripButton As TabStripButton, _
       ByRef sheetIndex As Integer _
    ) As Rectangle
    'Usage
     
    
    Dim spread As FpSpread
    Dim index As Integer
    Dim tabStripButton As TabStripButton
    Dim sheetIndex As Integer
    Dim value As Rectangle
     
    value = FpSpreadTreeHelper.GetTabStripChildRectangle(spread, index, tabStripButton, sheetIndex)
    public static Rectangle GetTabStripChildRectangle( 
       FpSpread spread,
       int index,
       out TabStripButton tabStripButton,
       out int sheetIndex
    )

    Parameters

    spread
    The FpSpread control.
    index
    The order of the element.
    tabStripButton
    A TabStripButton value represents the type of element.
    sheetIndex
    An integer value represents the order of sheet tab. -1 if the element is not a sheet tab.

    Return Value

    The rectangle of element inside the tab strip.
    See Also