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


The index of the row where the method begins to look for the previous row.
A bitwise combination of MultiRowElementStates values.
Retrieves the index of the previous row that meets the specified criteria.
Syntax
Public Overloads Function GetPreviousRow( _
   ByVal indexStart As Integer, _
   ByVal includeFilter As MultiRowElementStates _
) As Integer
Dim instance As RowCollection
Dim indexStart As Integer
Dim includeFilter As MultiRowElementStates
Dim value As Integer
 
value = instance.GetPreviousRow(indexStart, includeFilter)
public int GetPreviousRow( 
   int indexStart,
   MultiRowElementStates includeFilter
)

Parameters

indexStart
The index of the row where the method begins to look for the previous row.
includeFilter
A bitwise combination of MultiRowElementStates values.

Return Value

A System.Int32 that indicates the index of the previous row that has the attributes specified by includeFilter; -1 if no row is found.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe includeFilter has an invalid value for the MultiRowElementStates enumeration.
System.ArgumentOutOfRangeExceptionThe indexStart is less than 1 or greater than the number of Rows in the collection.
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.