.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
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.
.NET Core 3.0+

WinApplication.MainWindow Property

Gets the application's main Window.

Namespace: DevExpress.ExpressApp.Win

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


public override Window MainWindow { get; }
Public Overrides ReadOnly Property MainWindow As Window

Property Value

Type Description

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


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