Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MdiShowViewStrategy.CloseAllWindows() Method

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

Namespace: DevExpress.ExpressApp.Win

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

#Declaration

public override bool CloseAllWindows()

#Returns

Type Description
Boolean

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

#Remarks

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