Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Grid Assembly / C1.Xamarin.Forms.Grid Namespace / GridMergeManager Class / GetMergedRange Method / GetMergedRange(GridPanel,GridCellRange,GridCellRange,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.


In This Topic
    GetMergedRange(GridPanel,GridCellRange,GridCellRange,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 _
    ) 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)

    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.
    See Also