The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebApplication.MainWindow Property

Provides access to the ASP.NET application's main Window.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v19.1.dll


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

Property Value

Type Description

A Window object that represents the current application's main Window.


Overrides the XafApplication.MainWindow property.

A main Window is the Window which is first displayed when starting the application (except the logon Window). This Window contains the base features of the application. To determine whether a Window is main, use the Window.IsMain property.

You can customize the main Window. For this purpose, access it via the MainWindow property.

See Also