Serves as the base class for Windows.
Related API Members
The following members accept/return Window objects:
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Window class.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.