Skip to main content
.NET Framework 4.5.2+

Frame.RegisterController(Controller) Method

Registers a specified Controller within a Frame‘s Frame.Controllers collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.1.dll

NuGet Package: DevExpress.ExpressApp


public void RegisterController(
    Controller controller


Name Type Description
controller Controller

A Controller object to be registered within the current Frame‘s Frame.Controllers collection.


The RegisterController method is intended for internal use. It adds the Controller specified by the controller parameter to the current Frame‘s Frame.Controllers collection, and sets the Controller.Frame property to this Frame. If the passed Controller is already registered in another Frame, an exception is raised.

Use a Frame’s GetController<ControllerType> method to access a Controller.

See Also