Skip to main content
.NET 6.0+

MdiShowViewStrategy(XafApplication) Constructor

Creates and initializes an instance of the MdiShowViewStrategy class in tabbed mode.

Namespace: DevExpress.ExpressApp.Win

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

NuGet Package: DevExpress.ExpressApp.Win

Declaration

public MdiShowViewStrategy(
    XafApplication application
)

Parameters

Name Type Description
application XafApplication

An XafApplication descendant object that is the application that will use the instantiated Show View Strategy.

Remarks

The MdiShowViewStrategy can be used in XAF Windows Forms applications as an alternative to the ShowInMultipleWindowsStrategy that is used by default. Refer to the MdiShowViewStrategy class description for additional information.

Generally, you don’t have to create a Show View Strategy manually. It’s created automatically by the XafApplication. When the Application creates an MdiShowViewStrategy, it passes the value of the IModelOptionsWin.UIType property as the mdiMode parameter. If you create an MdiShowViewStrategy manually using this constructor, the MdiShowViewStrategy.MdiMode will be set to the MdiMode.Tabbed value by default.

See Also