Skip to main content
.NET Framework 4.5.2+

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

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