GrapeCity.Win.MultiRow Namespace > Cell Class : Mergeable Property |
<DefaultValueAttribute()> <SRCategoryAttribute("Appearance")> <SRDescriptionAttribute("Indicates whether the cell can auto merge.")> Public Property Mergeable As Boolean
[DefaultValue()] [SRCategory("Appearance")] [SRDescription("Indicates whether the cell can auto merge.")] public bool Mergeable {get; set;}
Exception | Description |
---|---|
System.InvalidOperationException | Sets property in Runtime. |
The desired merged cells should be in the "Row" scope.
The cell's top should equal to the row's top, and cell's bottom should be equal to the row's bottom.
If the cell is in the new row, the cell cannot be merged.
If a cell merges with other cells, the MultiRow control uses the first cell's property settings and style to paint the merged cells.
1. The desired merged cells' value should not be a null reference (Nothing in Visual Basic) or String.Empty.
2. If two cell's values are the same the cell is merged (Note: For performance reasons do not use FormattedValue, use Value).
If you wish to customize the merge logic, refer to the GcMultiRow.QueryCellMergeState event.Target Platforms: 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