Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

WinShowViewStrategyBase Class

An abstract class that serves as the base class for Show View Strategies used in XAF Windows Forms applications.

Namespace: DevExpress.ExpressApp.Win

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

NuGet Package: DevExpress.ExpressApp.Win

#Declaration

public abstract class WinShowViewStrategyBase :
    ShowViewStrategyBase

The following members return WinShowViewStrategyBase objects:

#Remarks

The following table lists the built-in Show View Strategies that derive from the WinShowViewStrategyBase.

WinShowViewStrategyBase Descendant Description
ShowInMultipleWindowsStrategy Used by default in XAF Windows Forms applications.
ShowInSingleWindowStrategy A Show View Strategy that can be used as an alternative to the ShowInMultipleWindowsStrategy. Provides different behavior when a Detail View is invoked from a List View that is displayed in the main Window.
MdiShowViewStrategy Another alternative to the ShowInMultipleWindowsStrategy. Uses multiple document interface.

By default, XAF Windows Forms applications use the ShowInMultipleWindowsStrategy. To use another Strategy, specify the Application Model‘s IModelOptionsWin.UIType property of the Application | Options node. Alternatively, you can manually instantiate the required Strategy and assign it to the XafApplication.ShowViewStrategy property.

For general information on Show View Strategies, refer to the ShowViewStrategyBase class description.

See Also