New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for the CellMerging event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewCellMergingEventArgs : EventArgs

Inheritance: objectEventArgsGridViewCellMergingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the GridViewCellMergingEventArgs class.

C#
public GridViewCellMergingEventArgs(GridCellElement cell1, GridCellElement cell2)
Parameters:cell1GridCellElementcell2GridCellElement

Properties

First cell.

C#
public GridCellElement Cell1 { get; }

Second cell.

C#
public GridCellElement Cell2 { get; }
        Gets or sets a value that indicates whether the event handler has completely handled the event or whether default grid cell comparison should be executed.
        Note that if this property is 
csharp
false

the default logic will be executed.

C#
public bool Handled { get; set; }

The result of cells comparison. The default implementation compares the values of the cells.

C#
public bool Result { get; set; }