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 |
---|---|
Detail |
Gets the detail form type (View, Edit, or New Item form). |
Item | Gets the source item associated with the detail form. |
Result | Gets or sets the View Model for the detail form. This is a bindable property. |
#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.