Skip to main content
.NET Framework 4.5.2+

ModuleBase.RequiredModuleTypes Property

Provides access to the collection of modules that are added to the current module via the Module Designer.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll


public ModuleTypeList RequiredModuleTypes { get; }

Property Value

Type Description

A ModuleTypeList collection of modules used by the current module.


Use this property to access the collection of the modules that are used by the current module. Use the Add method of the returned collection, to add a module to the current module directly (without use of the Module Designer or Application Designer). The following code demonsrates how to do this:

public sealed class MySolutionModule : ModuleBase {
   public MySolutionModule() {

The added module(s) must also be referenced in the current module project.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RequiredModuleTypes property.


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.

See Also