Occurs when saving information on a View's editor(s) to the Application Model.
public event EventHandler<HandledEventArgs> CustomModelSaving
Public Event CustomModelSaving As EventHandler(Of HandledEventArgs)
The CustomModelSaving event handler receives an argument of the HandledEventArgs type. The following properties provide information specific to this event.
|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.