Back to Devexpress

Window Class

expressappframework-devexpress-dot-expressapp-928c8b78.md

latest5.1 KB
Original Source

Window Class

Serves as the base class for Windows.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public class Window :
    Frame
vb
Public Class Window
    Inherits Frame

The following members return Window objects:

Show 12 links

Remarks

The Window is a Frame descendant. The difference between the Window and Frame classes is that Windows are independent objects. Generally, they represent root Views, while Frames represent nested Views. Like Frames, Windows are constructed automatically by XAF, and except in very rare cases, like implementing a custom Property Editor, displaying a pop-up Window, you do not need to instantiate them manually.

The Window class is the base class from which all Window classes derive. The WinWindow descendant is used in Windows Forms applications.

You can access the current Window from a Window Controller via its WindowController.Window property. Using the retrieved Window, you can access all Controllers created for the current Window via the Frame.Controllers property. To access the control representing a Window in a UI, use the Window.Template property.

For additional information on Windows, refer to the Windows and Frames help topic.

Inheritance

Object Frame Window WinWindow

See Also

Window Members

Windows and Frames

Templates

UI Element Overview

DevExpress.ExpressApp Namespace