Controller.Deactivated Event

Occurs after a Controller has been deactivated.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public event EventHandler Deactivated
Public Event Deactivated As EventHandler

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

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