Represents a Window Controller.
A Window Controller class is a descendant of the Controller class. Use it as an ancestor for a custom Controller which is intended to perform features with a Window. To implement custom code to be performed at runtime, use the Controller class’ mechanisms of activation and deactivation, i.e. handle the Controller.Activated and Controller.Deactivated events. Window Controllers are activated in Windows only (not in Frames). You can access the parent Window via the WindowController.Window property.
You can specify the Windows for which a Window Controller will be activated. For this purpose, use the WindowController.TargetWindowType property. You can also prohibit Controller activation for a particular Window by overriding the WindowController.OnWindowChanging method.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the WindowController class.
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.