The requested page is not available for the requested platform. You are viewing the content for Default platform.

View.CustomModelSaving Event

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

[Browsable(false)]
public event EventHandler<HandledEventArgs> CustomModelSaving
<Browsable(False)>
Public Event CustomModelSaving As EventHandler(Of HandledEventArgs)

Event Data

The CustomModelSaving event handler receives an argument of the HandledEventArgs type. 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.

Remarks

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