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


The row index of the viewport.
The column index of the viewport.
. A bitwise combination of MultiRowElementStates values.
Retrieves the cumulative width of the Row objects that meet the specified criteria.
Syntax
Public Overloads Function GetRowsWidth( _
   ByVal viewportRowIndex As Integer, _
   ByVal viewportColumnIndex As Integer, _
   ByVal includeFilter As MultiRowElementStates _
) As Integer
Dim instance As RowCollection
Dim viewportRowIndex As Integer
Dim viewportColumnIndex As Integer
Dim includeFilter As MultiRowElementStates
Dim value As Integer
 
value = instance.GetRowsWidth(viewportRowIndex, viewportColumnIndex, includeFilter)

Parameters

viewportRowIndex
The row index of the viewport.
viewportColumnIndex
The column index of the viewport.
includeFilter
. A bitwise combination of MultiRowElementStates values.

Return Value

A System.Int32 that indicates the cumulative width of Row objects in the RowCollection that have the attributes specified by includeFilter.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe includeFilter is an invalid value for the enumeration MultiRowElementStates.
System.ArgumentOutOfRangeException

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.