Xceed DataGrid for WPF v7.2 Documentation
CanMerge Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > SpannedCellSelector Class : CanMerge Method
The first SpannedCellFragment to evaluate.
The second SpannedCellFragment to evaluate.
Determines if the provided SpannedCellFragments can be merged together to form a SpannedCell.
Syntax
'Declaration
 
Public Overridable Function CanMerge( _

   ByVal x As SpannedCellFragment, _

   ByVal y As SpannedCellFragment _

) As Boolean
'Usage
 
Dim instance As SpannedCellSelector

Dim x As SpannedCellFragment

Dim y As SpannedCellFragment

Dim value As Boolean

 

value = instance.CanMerge(x, y)
public virtual bool CanMerge( 

   SpannedCellFragment x,

   SpannedCellFragment y

)

Parameters

x
The first SpannedCellFragment to evaluate.
y
The second SpannedCellFragment to evaluate.

Return Value

true if the SpannedCellFragments can be merged together, otherwise false.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SpannedCellSelector Class
SpannedCellSelector Members