Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

WinApplication.MainWindow Property

Gets the application’s main Window.

Namespace: DevExpress.ExpressApp.Win

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

NuGet Package: DevExpress.ExpressApp.Win

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 (Nothing in VB), if the ShowViewStrategy is null.

See Also