[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.MergeManager.GetMergedRange

GetMergedRange Method

GetMergedRange(C1FlexGrid, CellType, CellRange)

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

Declaration
public virtual CellRange GetMergedRange(C1FlexGrid grid, CellType cellType, CellRange rng)
Parameters
Type Name Description
C1FlexGrid grid

C1FlexGrid that contains the merged cell.

CellType cellType

CellType that specifies the type of the merged cell.

CellRange rng

A CellRange that specifies the coordinates of the cell to be merged.

Returns
Type Description
CellRange

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

Implements
Remarks

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