ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / DataGridCellsRangeCollection Class / Contains Method / Contains(DataGridCell,Boolean) Method
The cell.
if set to true return true only if the specified cell is equal to some of the contained ranges.

In This Topic
    Contains(DataGridCell,Boolean) Method
    In This Topic
    Determines whether this collection contains the specified range.
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal cell As DataGridCell, _
       ByVal isEqualToARange As Boolean _
    ) As Boolean
    public bool Contains( 
       DataGridCell cell,
       bool isEqualToARange
    )

    Parameters

    cell
    The cell.
    isEqualToARange
    if set to true return true only if the specified cell is equal to some of the contained ranges.

    Return Value

    true if this collection contains the specified range; otherwise, false.
    See Also