BCGControlBar Library for .NET
GetRowIndex Method (GridData)




Returns index of row that contains the specified GridDataItem by looking for this item within specified row range.
Returns row index.
Overload List
OverloadDescription
GetRowIndex(GridDataRow,Boolean,Int32,Int32)Returns index of row that contains the specified GridDataItem by looking for this item within specified row range.  
GetRowIndex(GridDataItem,Boolean,Int32,Int32)Returns index of row that contains the specified GridDataItem by looking for this item within specified row range.  
GetRowIndex(GridDataItem,Boolean)Returns index of row that contains the specified GridDataItem.  
Remarks
Call one of these overloads to retrieve row index. The returned index is not necessary the index in RowCollection. It depends on the current mode (group mode, sorting, access real data mode).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridData Class
GridData Members

Send Feedback