Skip to main content
.NET Framework 4.5.2+

Controller.Deactivated Event

Occurs after a Controller has been deactivated.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Deactivated 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