'Declaration
Protected Overloads Shared Function GetMergedRange( _ ByVal panel As GridPanel, _ ByVal extentRange As GridCellRange, _ ByVal range As GridCellRange, _ Optional ByVal vertical As Boolean, _ Optional ByVal expand As Boolean _ ) As GridCellRange
'Usage
Dim panel As GridPanel Dim extentRange As GridCellRange Dim range As GridCellRange Dim vertical As Boolean Dim expand As Boolean Dim value As GridCellRange value = GridMergeManager.GetMergedRange(panel, extentRange, range, vertical, expand)
protected static GridCellRange GetMergedRange( GridPanel panel, GridCellRange extentRange, GridCellRange range, bool vertical, bool expand )
Parameters
- panel
- The panel to be merged.
- extentRange
- The range which limits the zone to look for.
- range
- The range inside the panel.
- vertical
- if set to
true
the merge will be performed vertically, otherwise horizontally. - expand
- if set to
true
the merge algorithm can expand to adjacent columns or rows depending on the direction.