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

WindowController.Window Property

Provides access to a Window Controller’s Window.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[DefaultValue(null)]
[Browsable(false)]
public Window Window { get; }

#Property Value

Type Default Description
Window null

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

#Remarks

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.

See Also