MdiShowViewStrategy(XafApplication, MdiMode) Constructor
Creates and initializes an instance of the MdiShowViewStrategy class.
Namespace: DevExpress.ExpressApp.Win
Assembly: DevExpress.ExpressApp.Win.v24.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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MdiShowViewStrategy(XafApplication, MdiMode) constructor.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.