Gets a CellRange that represents the intersection of this range with a given range.

Namespace:  C1.Silverlight.FlexGrid
Assembly:  C1.Silverlight.FlexGrid.4 (in C1.Silverlight.FlexGrid.4.dll)

Syntax

C#
public CellRange Intersection(
	CellRange rng
)
Visual Basic
Public Function Intersection ( _
	rng As CellRange _
) As CellRange

Parameters

rng
Type: C1.Silverlight.FlexGrid..::..CellRange
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