Skip to main content
.NET Framework 4.5.2+
  • 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.

MdiShowViewStrategy(XafApplication, MdiMode) Constructor

Creates and initializes an instance of the MdiShowViewStrategy class.

Namespace: DevExpress.ExpressApp.Win

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

NuGet Package: DevExpress.ExpressApp.Win


public MdiShowViewStrategy(
    XafApplication application,
    MdiMode mdiMode


Name Type Description
application XafApplication

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

mdiMode MdiMode

An MdiMode enumeration value specifying the MdiShowViewStrategy‘s mode of operation. This parameter value is assigned to the MdiShowViewStrategy.MdiMode property.


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 need to create an MdiShowViewStrategy manually, and then assign it to the WinApplication.ShowViewStrategy, get the IModelOptionsWin.UIType property value. Alternatively, pass the required MDIMode value.

See Also