The event handler receives an argument of type EditFormShowingEventArgs containing data related to this event.
The following
EditFormShowingEventArgs 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. |
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 EditFormPrepared event fires, which allows you to customize the Edit Form.