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

Provides data for the CreateCell event

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewCreateCellEventArgs : EventArgs

Inheritance: objectEventArgsGridViewCreateCellEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the GridViewCreateCellEventArgs class.

C#
public GridViewCreateCellEventArgs(GridRowElement row, GridViewColumn column, Type defaultCellType)
Parameters:rowGridRowElement

The GridRowElement that will contain the newly created cell

columnGridViewColumn

The specified GridViewColumn

defaultCellTypeType

The default cell type that will be used

Properties

Gets or sets the cell instance that will be added to grid row.

C#
public GridCellElement CellElement { get; set; }

Gets or sets the type of the GridCellElement that will be created for the specified row and column

C#
public Type CellType { get; set; }

Gets the specified GridViewColumn

C#
public GridViewColumn Column { get; }

Gets the GridRowElement that will contain the newly created cell

C#
public GridRowElement Row { get; }