Back to Devexpress

DataGridView.CreateDetailFormViewModel Event

maui-devexpress-dot-maui-dot-datagrid-dot-datagridview-9fdb6881.md

latest1.6 KB
Original Source

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

csharp
public event EventHandler<CreateDetailFormViewModelEventArgs> CreateDetailFormViewModel

Event Data

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

PropertyDescription
DetailFormTypeGets the detail form type (View, Edit, or New Item form).
ItemGets the source item associated with the detail form.
ResultGets 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.

See Also

DataGridView Class

DataGridView Members

DevExpress.Maui.DataGrid Namespace