Skip to main content

DXCollectionView.CreateDetailFormViewModel Event

Occurs before the detail view or edit form is invoked.

Namespace: DevExpress.Maui.CollectionView

Assembly: DevExpress.Maui.CollectionView.dll

NuGet Package: DevExpress.Maui.CollectionView

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 Collection View for .NET MAUI.

See Also