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

Provides data for the CreateCellElement event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class VirtualGridCreateCellEventArgs

Inheritance: objectVirtualGridCreateCellEventArgs

Constructors

Initializes a new instance of the VirtualGridCreateCellEventArgs class.

C#
public VirtualGridCreateCellEventArgs(int columnIndex, int rowIndex, Type cellType, VirtualGridViewInfo viewInfo)
Parameters:columnIndexint

Index of the column.

rowIndexint

Index of the row.

cellTypeType

Type of the cell.

viewInfoVirtualGridViewInfo

The view info.

Properties

Gets or sets the cell element.

C#
public VirtualGridCellElement CellElement { get; set; }

Gets or sets the type of the cell.

C#
public Type CellType { get; set; }

Gets the column index of the cell.

C#
public int ColumnIndex { get; }

Gets the row index of the cell.

C#
public int RowIndex { get; }

Gets the view info of the cell.

C#
public VirtualGridViewInfo ViewInfo { get; }