[]
        
(Showing Draft Content)

C1.Android.Grid.GridMergeManager.GetMergedRange

GetMergedRange Method

GetMergedRange(GridCellType, GridCellRange)

Gets a GridCellRange that specifies the merged extent of a cell.

Declaration
public override GridCellRange GetMergedRange(GridCellType cellType, GridCellRange range)
Parameters
Type Name Description
GridCellType cellType

Type of the cell.

GridCellRange range

The range of the original cell.

Returns
Type Description
GridCellRange
Overrides

GetMergedRange(GridPanel, GridCellRange, GridCellRange, bool, bool)

Gets a GridCellRange that specifies the merged extent of a cell.

Declaration
protected static GridCellRange GetMergedRange(GridPanel panel, GridCellRange extentRange, GridCellRange range, bool vertical = true, bool expand = false)
Parameters
Type Name Description
GridPanel panel

The panel to be merged.

GridCellRange extentRange

The range which limits the zone to look for.

GridCellRange range

The range inside the panel.

bool vertical

if set to true the merge will be performed vertically, otherwise horizontally.

bool expand

if set to true the merge algorithm can expand to adjacent columns or rows depending on the direction.

Returns
Type Description
GridCellRange