Back to Devexpress

CellMergeEventArgs.Merge Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-cellmergeeventargs-5459d138.md

latest2.0 KB
Original Source

CellMergeEventArgs.Merge Property

Gets or sets whether two cells should be merged.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public bool Merge { get; set; }
vb
Public Property Merge As Boolean

Property Value

TypeDescription
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

Handled

CellMergeEventArgs Class

CellMergeEventArgs Members

DevExpress.XtraGrid.Views.Grid Namespace