Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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