Skip to main content
A newer version of this page is available. .

Frame.SaveModel() Method

Writes information on a Frame‘s View and Template to the Application Model.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public void SaveModel()

Remarks

This method writes the current settings of the current Frame‘s Frame.View and Frame.Template (e.g. the settings of a Detail View’s items or a List View’s Grid Editor) to the corresponding Application Model nodes. Currently, this method is used in Windows Forms Applications when closing a Window. In ASP.NET Web applications, end-users cannot customize UI elements.

Generally, you do not need to call this method. You can handle the Frame.ViewModelSaving and Frame.TemplateModelSaving events which are raised when synchronising information on the Frame’s View and Template, respectively.

See Also