.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

MdiShowViewStrategy.CloseAllWindows() Method

Tries to close all the Windows from the WinShowViewStrategyBase.Windows collection.

Namespace: DevExpress.ExpressApp.Win

Assembly: DevExpress.ExpressApp.Win.v20.2.dll


public override bool CloseAllWindows()
Public Overrides Function CloseAllWindows As Boolean


Type Description

true if the Windows have been closed successfully; otherwise, false.


Overrides the WinShowViewStrategyBase.CloseAllWindows method of the base class. If there are several open explorer windows (these windows contain navigation items and can display several List and Detail Views in tabs), this method saves the current layout of all open windows to the Application Model and closes them. If you don't want the windows layout to be saved to the Model, set the Options node's EnableKeepTabbedMdiLayout property to false.

See Also