Skip to main content
.NET Standard 2.0+

WindowController.Window Property

Provides access to a Window Controller’s Window.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll


public Window Window { get; }

Property Value

Type Default Description


A Window object representing the current Window Controller’s Window.


By default, all Controllers registered in the Application Model are activated when a Window is created. You can specify the Window type for which the current Window Controller can be activated, using the WindowController.TargetWindowType property.

If you need to prohibit activation of the current Window Controller for a particular Window, override the OnWindowChanging method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Window property.


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