A newer version of this page is available. Switch to the current version.

WinApplication.ShowViewStrategy Property

Specifies the Show View Strategy used in a Windows Forms application.

Namespace: DevExpress.ExpressApp.Win

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


public WinShowViewStrategyBase ShowViewStrategy { get; set; }
Public Property ShowViewStrategy As WinShowViewStrategyBase

Property Value

Type Description

A WinShowViewStrategyBase object, specifying the Show View Strategy used in a Windows Forms application.


General information on Show View Strategies is provided in the ShowViewStrategyBase topic. An example of accessing this property to enable the MdiShowViewStrategy is shown below.

public static void Main(string[] arguments) {
    // ...
    winApplication.ShowViewStrategy = new MdiShowViewStrategy(winApplication);

As the Show View Strategy can be changed during the application life cycle, it s recommended to subscribe to the ShowViewStrategy event from the XafApplication.ShowViewStrategyChanged event handler. An example is provided in the WinShowViewStrategyBase.WinWindowShowing topic.

See Also