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 GridViewCreateRowEventArgs : EventArgs

Inheritance: objectEventArgsGridViewCreateRowEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the GridViewCreateCellEventArgs class.

C#
public GridViewCreateRowEventArgs(GridViewRowInfo rowInfo, Type defaultRowType)
Parameters:rowInfoGridViewRowInfo

The GridRowElement that will contian the newly created cell

defaultRowTypeType

The default row type that will be used

Properties

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

C#
public GridRowElement RowElement { get; set; }

Gets the GridViewRowInfo that needs to be associated

C#
public GridViewRowInfo RowInfo { get; }

Gets ot sets the type of the GridRowElement that will be created for the specified row and column

C#
public Type RowType { get; set; }