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

View.ModelChanged Event

Occurs after setting the View.Model property for a View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public event EventHandler ModelChanged

Event Data

The ModelChanged event's data class is EventArgs.

Remarks

This event occurs as a result of calling the current View’s View.SetModel method. This method is called to set or change a value for the View’s View.Model property. After this property’s value is changed, the View’s settings will be updated and its controls will be created (recreated). Handle this event to perform custom actions after the View.Model property is changed and the controls are created.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ModelChanged event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also