C1.Silverlight.FlexGrid.5
GetMergedRange Method (IMergeManager)

C1FlexGrid that contains the merged cell.
CellType that specifies the type of the merged cell.
A CellRange that specifies the coordinates of the cell to be merged.
Gets a CellRange that specifies the merged extent of a cell in a GridPanel.
Syntax
'Declaration
 
Function GetMergedRange( _
   ByVal grid As C1FlexGrid, _
   ByVal cellType As CellType, _
   ByVal rng As CellRange _
) As CellRange
CellRange GetMergedRange( 
   C1FlexGrid grid,
   CellType cellType,
   CellRange rng
)

Parameters

grid
C1FlexGrid that contains the merged cell.
cellType
CellType that specifies the type of the merged cell.
rng
A CellRange that specifies the coordinates of the cell to be merged.

Return Value

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.

See Also

Reference

IMergeManager Interface
IMergeManager Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.