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#
public CellRange GetMergedRange(
	C1FlexGrid grid,
	CellType cellType,
	CellRange range
)
Visual Basic
Public 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.

Implements

IMergeManager..::..GetMergedRange(C1FlexGrid, CellType, CellRange)

Remarks

This method expands ranges by comparing the cell contents with the content of neighboring cells and merging cells that have the same content.

See Also