.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

Frame.SaveModel() Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.2.dll


public void SaveModel()


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