Skip to main content

LayoutView.CustomRowCellEdit Event

Enables you to assign editors to individual cells.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[DXCategory("Editor")]
public event LayoutViewCustomRowCellEditEventHandler CustomRowCellEdit

Event Data

The CustomRowCellEdit event's data class is LayoutViewCustomRowCellEditEventArgs. The following properties provide information specific to this event:

Property Description
CellValue Returns the currently processed cell value. Inherited from CustomRowCellEventArgs.
Column Gets the column to which the currently processed cell corresponds. Inherited from CustomRowCellEventArgs.
RepositoryItem Gets or sets the editor used to edit the currently processed cell. Inherited from CustomRowCellEditEventArgs.
RowHandle Gets the handle of the row that contains the processed cell. Inherited from CustomRowCellEventArgs.

Remarks

The CustomRowCellEdit event fires for each cell within the View, and enables you to assign editors to individual cells. The referenced cell is identified by the event’s Column and RowHandle parameters. If you need to change the cell’s editor, use the RepositoryItem property.

The CustomRowCellEdit event is equivalent to the GridView.CustomRowCellEdit event. See this topic to learn more

See Also