FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / CellRange Structure / Intersection Method
CellRange to intersect with this range.

In This Topic
    Intersection Method (CellRange)
    In This Topic
    Gets a CellRange that represents the intersection of this range with a given range.
    Syntax
    'Declaration
     
    Public Function Intersection( _
       ByVal rng As CellRange _
    ) As CellRange
    public CellRange Intersection( 
       CellRange rng
    )

    Parameters

    rng
    CellRange to intersect with this range.

    Return Value

    A CellRange that represents the intersection (common cells) between this range and the range specified by the rng parameter.
    Remarks
    If this range does not intersect the range specified by the rng parameter, this method returns an invalid CellRange object.
    See Also