FlexGrid for WinForms
Contains Method (CellRange)



Index of the row to check.
Index of the column to check.
Determines whether the range contains a given cell.
Syntax
'Declaration
 
Public Function Contains( _
   ByVal row As Integer, _
   ByVal col As Integer _
) As Boolean
'Usage
 
Dim instance As CellRange
Dim row As Integer
Dim col As Integer
Dim value As Boolean
 
value = instance.Contains(row, col)
public bool Contains( 
   int row,
   int col
)
public:
bool Contains( 
   int row,
   int col
) 

Parameters

row
Index of the row to check.
col
Index of the column to check.

Return Value

True if the range contains the cell, False otherwise.
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

CellRange Structure
CellRange Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback