Serves as the base class for Windows.
public class Window : Frame, IDisposable
Public Class Window Inherits Frame Implements IDisposable
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 and the WebWindow descendant is used in ASP.NET Web applications. An additional PopupWindow is used in ASP.NET Web applications, to display pop-up Windows.
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.