MdiShowViewStrategy(XafApplication) Constructor

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

Namespace: DevExpress.ExpressApp.Win

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

Declaration

public MdiShowViewStrategy(
    XafApplication application
)
Public Sub New(
    application As XafApplication
)

Parameters

Type Name Description
XafApplication application

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

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