ComponentOne FlexGrid for UWP
C1.UWP.FlexGrid Assembly / C1.Xaml.FlexGrid Namespace / C1FlexGrid Class / GetDataIndex Method

In This Topic
    GetDataIndex Method
    In This Topic
    Returns index of data item in the items source for the specified row index.
    Syntax
    'Declaration
     
    
    Public Function GetDataIndex( _
       ByVal rowIndex As Integer _
    ) As Integer
    public int GetDataIndex( 
       int rowIndex
    )

    Parameters

    rowIndex

    Return Value

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