expressappframework-devexpress-dot-expressapp-dot-xafapplication.md
Provides access to the module list used by the application.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[Browsable(false)]
public ModuleList Modules { get; }
<Browsable(False)>
Public ReadOnly Property Modules As ModuleList
| Type | Description |
|---|---|
| DevExpress.ExpressApp.ModuleList |
A ModuleList collection that contains all modules used in the current application.
|
Use this property to add an extra module to the application. Alternatively you can use one of the approaches listed in the Ways to Register a Module topic.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Modules property.
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.
protected override void PrintReport(IReportDataV2 reportData) {
ReportsModuleV2 reportsModule = ReportsModuleV2.FindReportsModule(Application.Modules);
if (reportsModule != null && reportsModule.ReportsDataSourceHelper != null) {
See Also
Apply Different Configurations for Development and Production