Frame.RegisterController(Controller) Method
Registers a specified Controller within a Frame‘s Frame.Controllers collection.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Parameters
Name | Type | Description |
---|---|---|
controller | Controller | A Controller object to be registered within the current Frame‘s Frame.Controllers collection. |
Remarks
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