Gets a CellRange that specifies the merged extent of a cell in a GridPanel.

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

Syntax

C#
CellRange GetMergedRange(
	C1FlexGrid grid,
	CellType cellType,
	CellRange range
)
Visual Basic
Function GetMergedRange ( _
	grid As C1FlexGrid, _
	cellType As CellType, _
	range As CellRange _
) As CellRange

Parameters

grid
Type: C1.Silverlight.FlexGrid..::..C1FlexGrid
C1FlexGrid that contains the merged cell.
cellType
Type: C1.Silverlight.FlexGrid..::..CellType
CellType that specifies the type of the merged cell.
range
Type: C1.Silverlight.FlexGrid..::..CellRange
A CellRange that specifies the coordinates of the cell to be merged.

Return Value

A CellRange that expands the given range over a merged range.

Remarks

The GetMergedRange method must fulfill two requirements:

1) The range returned must always contain the range passed in as a parameter.

2) The range returned must be the same for any cell contained in it.

See Also