.NET Core 3.0+
.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 Core 3.0+

WinApplication.ShowViewStrategy Property

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

Namespace: DevExpress.ExpressApp.Win

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

Declaration

[Browsable(false)]
public WinShowViewStrategyBase ShowViewStrategy { get; set; }
<Browsable(False)>
Public Property ShowViewStrategy As WinShowViewStrategyBase

Property Value

Type Description
WinShowViewStrategyBase

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

Remarks

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);
    winApplication.Setup();
    winApplication.Start();
    //...
}

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