Back to Devexpress

TileView.EditFormShowing Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileview-ace4fafe.md

latest2.7 KB
Original Source

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.v25.2.dll

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

Declaration

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

Event Data

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

PropertyDescription
AllowGets or sets whether opening an Edit Form is allowed.
RowHandleGets 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

EditFormPrepared

EditFormHidden

Rows

TileView Class

TileView Members

DevExpress.XtraGrid.Views.Tile Namespace