BCGControlBar Library for .NET
GetRowIndex(GridDataItem,Boolean) Method




Data item contained in a row, whose index should be retrieved.
Specifies whether to look for sorted row index.
Returns index of row that contains the specified GridDataItem.
Syntax
'Declaration
 
Public Overloads Function GetRowIndex( _
   ByVal item As GridDataItem, _
   ByVal needSortedIndex As Boolean _
) As Integer
'Usage
 
Dim instance As GridData
Dim item As GridDataItem
Dim needSortedIndex As Boolean
Dim value As Integer
 
value = instance.GetRowIndex(item, needSortedIndex)
public int GetRowIndex( 
   GridDataItem item,
   bool needSortedIndex
)
public: int GetRowIndex( 
   GridDataItem* item,
   bool needSortedIndex
) 
public:
int GetRowIndex( 
   GridDataItem^ item,
   bool needSortedIndex
) 

Parameters

item
Data item contained in a row, whose index should be retrieved.
needSortedIndex
Specifies whether to look for sorted row index.

Return Value

-1 if row is not found, or a GridDataRow object..
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
Overload List

Send Feedback