Skip to main content
.NET Framework 4.6.2+

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