ComponentOne FlexGrid for UWP
C1.UWP.FlexGrid Assembly / C1.Xaml.FlexGrid Namespace / CellRange Structure / Intersection Method
CellRange to intersect with this range.

In This Topic
    Intersection Method
    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