Skip to main content

DataGridView.CreateDetailFormViewModel Event

Occurs before the detail view or edit form is invoked.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public event EventHandler<CreateDetailFormViewModelEventArgs> CreateDetailFormViewModel

Event Data

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

Property Description
DetailFormType Returns the CRUD form type (View, Edit, or Create New Item form).
Item Returns the source item that is being edited in the edit form.
Result Gets or sets the View Model that is used to build the view or edit form and contains information about the source item.

Remarks

For more information about detail edit forms, refer to the following help topic: CRUD Operations in a Data-Bound Data Grid View for .NET MAUI.

See Also