Skip to main content
.NET Framework 4.5.2+

View.CustomModelSaving Event

Occurs when saving information on a View’s editor(s) to the Application Model.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll


public event EventHandler<HandledEventArgs> CustomModelSaving

Event Data

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

Property Description
Handled Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing.


This event is raised when calling the current View’s View.SaveModel method. This method is used to save settings of the View Items and their layout for a Detail View and settings of the List Editor for a List View. These settings are saved to the Application Model node specified by the View’s View.Model property current value. Handle this event to implement a custom technique of saving information on a View. Set the handler’s HandledEventArgs.Handled parameter to true, to cancel the default saving process.

See Also