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 Packages: DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design
NuGet Package: DevExpress.ExpressApp.Win
Declaration
Parameters
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. |
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 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.