.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 5.0+

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

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WinShowViewStrategyBase class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also