Skip to main content
.NET 8.0+

Controller.Deactivated Event

Occurs after a Controller has been deactivated.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public event EventHandler Deactivated

Event Data

The Deactivated event's data class is EventArgs.

Remarks

The Deactivated event is raised if the Controller.Active collection gets an element with the value part set to false.

Note

A View Controller is deactivated before its ViewController.View property is set to null. A Window Controller is deactivated before its WindowController.Window property is set to null.

For details on how to use Controllers, refer to the Controllers topic.

See Also