Skip to main content

WinApplication.MainWindow Property

Gets the application’s main Window.

Namespace: DevExpress.ExpressApp.Win

Assembly: DevExpress.ExpressApp.Win.v25.2.dll

NuGet Packages: DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design

Declaration

public override Window MainWindow { get; }

Property Value

Type Description
Window

A Window object which is the application’s main Window.

Remarks

Uses the WinApplication.ShowViewStrategy property to get the main Window (see WinShowViewStrategyBase.MainWindow). Returns null, if the ShowViewStrategy is null.

See Also