The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.v19.2.dll

Declaration

[Browsable(false)]
public ModuleTypeList RequiredModuleTypes { get; }
<Browsable(False)>
Public ReadOnly Property RequiredModuleTypes As ModuleTypeList
[Browsable(false)]
public ModuleTypeList RequiredModuleTypes { get; }
<Browsable(False)>
Public ReadOnly Property RequiredModuleTypes As ModuleTypeList
[Browsable(false)]
public ModuleTypeList RequiredModuleTypes { get; }
<Browsable(False)>
Public ReadOnly Property RequiredModuleTypes As ModuleTypeList

Property Value

Type Description
DevExpress.ExpressApp.ModuleTypeList

A ModuleTypeList collection of modules used by the current module.

Property Value

Type Description
DevExpress.ExpressApp.ModuleTypeList

A ModuleTypeList collection of modules used by the current module.

Property Value

Type Description
DevExpress.ExpressApp.ModuleTypeList

A ModuleTypeList collection of modules used by the current module.

Remarks

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() {
      InitializeComponent();
      this.RequiredModuleTypes.Add(typeof(MyCustomModule.CustomModule));
   }
}

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

See Also