The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

View.ModelChanging Event

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public event EventHandler ModelChanging
Public Event ModelChanging As EventHandler
public event EventHandler ModelChanging
Public Event ModelChanging As EventHandler
public event EventHandler ModelChanging
Public Event ModelChanging As EventHandler

Event Data

The ModelChanging event handler receives an argument of the EventArgs type.

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 before changing the View.Model property's value.

See Also