Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MergeCellsMode Enum

Lists available modes to merge cells.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.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