[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.IMergeManager.GetMergedRange

GetMergedRange Method

GetMergedRange(C1FlexGrid, CellType, CellRange)

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

Declaration
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.

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.