A newer version of this page is available. Switch to the current version.

TableView.EditFormShowing Event

Occurs when the TableView is about to display the edit form.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll


public event EventHandler<EditFormShowingEventArgs> EditFormShowing

Event Data

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

Property Description
Allow Gets or sets a value that indicates whether to show the edit form.
RowHandle Gets the handle of the row that raised the event.


The EditFormShowing event allows you to prevent the TableView from displaying the edit form. The following example demonstrates how to disable the edit form for odd rows.

private void TableView_EditFormShowing(object sender, DevExpress.Xpf.Grid.EditFormShowingEventArgs e) {
    if(e.RowHandle % 2 != 0) {
        e.Allow = false;
See Also