ComponentOne FlexGrid for WPF and Silverlight
GetDataIndex Method

C1.WPF.FlexGrid Namespace > C1FlexGrid Class : GetDataIndex Method
Returns index of data item in the items source for the specified row index.
Syntax
'Declaration
 
Public Function GetDataIndex( _
   ByVal rowIndex As System.Integer _
) As System.Integer
public System.int GetDataIndex( 
   System.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

Reference

C1FlexGrid Class
C1FlexGrid Members