FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.Grid Namespace / GridMergeManager Class / GetMergedRange Method / GetMergedRange(GridPanel,GridCellRange,GridCellRange,Boolean,Boolean,Boolean) Method
The panel to be merged.
The range which limits the zone to look for.
The range inside the panel.
if set to true the merge will be performed vertically, otherwise horizontally.
if set to true the merge algorithm can expand to adjacent columns or rows depending on the direction.
When set to false (default), the cells whose text is empty or null will not be merged.

In This Topic
    GetMergedRange(GridPanel,GridCellRange,GridCellRange,Boolean,Boolean,Boolean) Method
    In This Topic
    Gets a GridCellRange that specifies the merged extent of a cell.
    Syntax
    '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, _
       Optional ByVal mergeNullOrWhitespace As Boolean _
    ) As GridCellRange
    protected static GridCellRange GetMergedRange( 
       GridPanel panel,
       GridCellRange extentRange,
       GridCellRange range,
       bool vertical,
       bool expand,
       bool mergeNullOrWhitespace
    )

    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.
    mergeNullOrWhitespace
    When set to false (default), the cells whose text is empty or null will not be merged.
    See Also