GetCheckedRowAt

Top  Previous  Next

Gets the attributes of a checked row for the grid in readonly mode - either the full gird or a sub grid.

[Visual Basic .NET]

Public Function GetCheckedRowAt(ByVal GridIndex As Integer,

                                                    ByVal Index As Integer,

                                                    ByRef SectionIndex As Integer,

                                                    ByRef RowIndex As Integer,

                                                    ByRef OrigRowIndex As Integer) As Boolean

[C#]

public bool GetCheckedRowAt(int GridIndex,

                                             int Index,

                                             ref int SectionIndex,

                                             ref int RowIndex,

                                             ref int OrigRowIndex);

Parameters

GridIndex

Specifies the grid index - either the full gird or a sub grid. -1 indicates the full grid; for a sub grid, the parameter's value must be between 0 and the return value of GetTotalSubGrids() minus 1.

Index

Specifies the index (0-based) of a checked row, and this parameter's value must be between 0 and the return value of GetCheckedRowsCount() minus 1.

SectionIndex

Points to a variable holding the section's index value (0-based) of a checked row. If the AllowSections is set to FALSE, this parameter becomes irrelevant.

RowIndex

Points to a variable holding the row's index value (0-based) of a checked row.

OrigRowIndex

Points to a variable holding the row's original index value (0-based) of a checked row.

 

 

Return Value:

If the operation is successful, it returns TRUE; otherwise it returns FALSE.