BCGControlBar Library for .NET
GetRow Method




Index of row to get.
Sort column.
Returns a row located at the specified index.
Syntax
'Declaration
 
Public Function GetRow( _
   ByVal index As Integer, _
   ByVal column As GridColumn _
) As GridDataRow
'Usage
 
Dim instance As GridData
Dim index As Integer
Dim column As GridColumn
Dim value As GridDataRow
 
value = instance.GetRow(index, column)
public GridDataRow GetRow( 
   int index,
   GridColumn column
)
public: GridDataRow* GetRow( 
   int index,
   GridColumn* column
) 
public:
GridDataRow^ GetRow( 
   int index,
   GridColumn^ column
) 

Parameters

index
Index of row to get.
column
Sort column.

Return Value

A reference to row or null if specified index is out of range or row collection is empty.
Remarks
In Virtual Mode this method returns a dummy row.
If AccessRealDataOnly is true, the column parameter is ignored and a row from RowCollection is returned.
In Group Mode column is also ignored and this method returns a row from collection of grouped rows.
In other cases if column is not null, this method is redirected to GetSortedColumn.
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