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

See Also