Back to Devexpress

WinShowViewStrategyBase Class

expressappframework-devexpress-dot-expressapp-dot-win-5ccf643c.md

latest3.5 KB
Original Source

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.v25.2.dll

NuGet Packages : DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design

Declaration

csharp
public abstract class WinShowViewStrategyBase :
    ShowViewStrategyBase
vb
Public MustInherit Class WinShowViewStrategyBase
    Inherits ShowViewStrategyBase

The following members return WinShowViewStrategyBase objects:

Remarks

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

WinShowViewStrategyBase DescendantDescription
ShowInMultipleWindowsStrategyUsed by default in XAF Windows Forms applications.
ShowInSingleWindowStrategyA 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.
MdiShowViewStrategyAnother 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.

Inheritance

Object ShowViewStrategyBase WinShowViewStrategyBase MdiShowViewStrategy

ShowInMultipleWindowsStrategy

ShowInSingleWindowStrategy

See Also

WinShowViewStrategyBase Members

DevExpress.ExpressApp.Win Namespace