GrapeCity MultiRow Windows Forms Documentation
GetRowState(Int32,Int32,Int32) Method


The index of the viewport row.
The index of the viewport column.
The index of the row.
Retrieves the state of the row with the specified index in the specified viewport.
Syntax
Public Overloads Function GetRowState( _
   ByVal viewportRowIndex As Integer, _
   ByVal viewportColumnIndex As Integer, _
   ByVal rowIndex As Integer _
) As MultiRowElementStates
Dim instance As RowCollection
Dim viewportRowIndex As Integer
Dim viewportColumnIndex As Integer
Dim rowIndex As Integer
Dim value As MultiRowElementStates
 
value = instance.GetRowState(viewportRowIndex, viewportColumnIndex, rowIndex)
public MultiRowElementStates GetRowState( 
   int viewportRowIndex,
   int viewportColumnIndex,
   int rowIndex
)

Parameters

viewportRowIndex
The index of the viewport row.
viewportColumnIndex
The index of the viewport column.
rowIndex
The index of the row.

Return Value

A bitwise combination of MultiRowElementStates values that indicates the state of the specified row in the specified viewport.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException

The rowIndex is less than 0 or greater than the number of Rows minus 1.

-or-

The viewportRowIndex is not equal to 0 when GcMultiRow is in Freeze mode.

-or-

The viewportColumnIndex is not equal to 0 when GcMultiRow is in Freeze mode.

-or-

The viewportRowIndex is less than 0 or greater than the number of viewport rows minus 1 when GcMultiRow is in Split mode.

-or-

The viewportColumnIndex is less than 0 or greater than the number of viewport columns minus 1 when GcMultiRow is in Split mode.

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.