GrapeCity MultiRow Windows Forms Documentation
GetNextRow(Int32,Int32,Int32,MultiRowElementStates,MultiRowElementStates) Method


The row index of the viewport.
The column index of the viewport.
The index of the row where the method begins to look for the next row.
A bitwise combination of MultiRowElementStates values.
A bitwise combination of MultiRowElementStates values.
Retrieves the index of the next row that meets the specified criteria.
Syntax
Public Overloads Function GetNextRow( _
   ByVal viewportRowIndex As Integer, _
   ByVal viewportColumnIndex As Integer, _
   ByVal indexStart As Integer, _
   ByVal includeFilter As MultiRowElementStates, _
   ByVal excludeFilter As MultiRowElementStates _
) As Integer
Dim instance As RowCollection
Dim viewportRowIndex As Integer
Dim viewportColumnIndex As Integer
Dim indexStart As Integer
Dim includeFilter As MultiRowElementStates
Dim excludeFilter As MultiRowElementStates
Dim value As Integer
 
value = instance.GetNextRow(viewportRowIndex, viewportColumnIndex, indexStart, includeFilter, excludeFilter)

Parameters

viewportRowIndex
The row index of the viewport.
viewportColumnIndex
The column index of the viewport.
indexStart
The index of the row where the method begins to look for the next row.
includeFilter
A bitwise combination of MultiRowElementStates values.
excludeFilter
A bitwise combination of MultiRowElementStates values.

Return Value

A System.Int32 that indicates the index of the next row that has the attributes specified by includeFilter, and does not have the attributes specified by excludeFilter; -1 if no row is found.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentException

The includeFilter has an invalid value for the MultiRowElementStates enumeration.

-or-

The excludeFilter has an invalid value for the MultiRowElementStates enumeration.

System.ArgumentOutOfRangeException

The indexStart is less than -1.

-or-

The viewportRowIndex is less than 0 or greater than the number of viewports in the vertical orientation minus 1.

-or-

The viewportColumnIndex is less than 0 or greater than the number of viewports in the horizontal orientation minus 1.

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

RowCollection Class
RowCollection Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.