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

TileView.EditFormShowing Event

Occurs when an Edit Form is about to be displayed, and allows you to cancel the action.

Namespace: DevExpress.XtraGrid.Views.Tile

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[DXCategory("Editor")]
public event EditFormShowingEventHandler 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 whether opening an Edit Form is allowed.
RowHandle Gets the row handle that identifies the grid row for which an Edit Form is opening.

#Remarks

You can respond to an Edit Form opening by handling the EditFormShowing event. You can cancel opening an Edit Form by setting the EditFormShowingEventArgs.Allow property to false. To get a handle that identifies a grid row (see Rows) for which an Edit Form is about to be displayed, use the EditFormShowingEventArgs.RowHandle property.

After the EditFormShowing event, the TileView.EditFormPrepared event fires, which allows you to customize the Edit Form.

See Also