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

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

    Parameters

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

    Return Value

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