Skip to main content

CellMergeEventArgs.Merge Property

Gets or sets whether two cells should be merged.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

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.

See Also