FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexGrid Class / GetRowIndex Method
Index of data item.

In This Topic
    GetRowIndex Method
    In This Topic
    Returns index of row representing data item with the specified index.
    Syntax
    'Declaration
     
    
    Public Function GetRowIndex( _
       ByVal dataIndex As Integer _
    ) As Integer
    public int GetRowIndex( 
       int dataIndex
    )

    Parameters

    dataIndex
    Index of data item.

    Return Value

    Index of row in the C1FlexGrid control.
    Remarks
    Row indices can be different from data indices as grid might add additional rows at grouping, etc..
    See Also