Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutView.CustomRowCellEdit Event

Enables you to assign editors to individual cells.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.2.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