Back to Devexpress

LayoutView.CustomRowCellEdit Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutview-178cb782.md

latest3.2 KB
Original Source

LayoutView.CustomRowCellEdit Event

Enables you to assign editors to individual cells.

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DXCategory("Editor")]
public event LayoutViewCustomRowCellEditEventHandler CustomRowCellEdit
vb
<DXCategory("Editor")>
Public Event CustomRowCellEdit As LayoutViewCustomRowCellEditEventHandler

Event Data

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

PropertyDescription
CellValueReturns the currently processed cell value. Inherited from CustomRowCellEventArgs.
ColumnGets the column to which the currently processed cell corresponds. Inherited from CustomRowCellEventArgs.
RepositoryItemGets or sets the editor used to edit the currently processed cell. Inherited from CustomRowCellEditEventArgs.
RowHandleGets 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

CustomRowCellEdit

Edit Data. Create Cell Editors. Validate User Input

LayoutView Class

LayoutView Members

DevExpress.XtraGrid.Views.Layout Namespace