The requested page is not available for the requested platform. You are viewing the content for Default platform.

Frame.RegisterController(Controller) Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public void RegisterController(
    Controller controller
)
Public Sub RegisterController(
    controller As Controller
)

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