WinApplication.MainWindow Property

Gets the application's main Window.

Namespace: DevExpress.ExpressApp.Win

Assembly: DevExpress.ExpressApp.Win.v18.1.dll

Declaration

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

Property Value

Type Description
Window

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