Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Grid Assembly / C1.Xamarin.Forms.Grid Namespace / GridCellRange Class / Contains Method / Contains(Int32,Int32) Method
Index of the row that may be contained in this range.
Index of the column that may be contained in this range.


In This Topic
    Contains(Int32,Int32) Method
    In This Topic
    Gets a value that indicates whether this range contains a given cell.
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal row As Integer, _
       ByVal col As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As GridCellRange
    Dim row As Integer
    Dim col As Integer
    Dim value As Boolean
     
    value = instance.Contains(row, col)
    public bool Contains( 
       int row,
       int col
    )

    Parameters

    row
    Index of the row that may be contained in this range.
    col
    Index of the column that may be contained in this range.

    Return Value

    True if this range contains the cell specified by the row and col parameters.
    See Also