Skip to main content
Row

MergeCellsMode Enum

Lists available modes to merge cells.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

[Flags]
public enum MergeCellsMode

Members

Name Description Example
Default

If a cell range to be merged intersects other merged cells, a cell range that includes all the intersecting ranges is merged.

SpreadsheetControl_MergeCellsMode_Default

IgnoreIntersections

If a cell range to be merged intersects other merged cells, these intersections are ignored.

SpreadsheetControl_MergeCellsMode_IgnoreIntersections

ByRows

Each row in the specified cell range is merged.

SpreadsheetControl_MergeCellsMode_ByRows

ByColumns

Each column in the specified cell range is merged.

SpreadsheetControl_MergeCellsMode_ByColumns

Remarks

The MergeCellsMode enumeration values are used by the Worksheet.MergeCells and RangeExtensions.Merge methods.

See Also