Skip to main content
A newer version of this page is available. .

CellMergeEventArgs.Merge Property

Gets or sets whether two cells should be merged.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public bool Merge { get; set; }

Property Value

Type Description
Boolean

true if the cells should be merged; otherwise, false.

Remarks

The cells being merged are identified by the CellMergeEventArgs.Column and CellMergeEventArgs.RowHandle1 and CellMergeEventArgs.RowHandle2 properties. If the cells should be merged, set the Merge property to true. Otherwise, set it to false. The CellMergeEventArgs.Handled parameter must also be set to true to indicate that the current cell merging operation is handled and therefore no default processing is required.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Merge property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also