ViewController() Constructor

Creates an instance of the ViewController<ViewType> class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public ViewController()

Do not instantiate Controllers via this constructor. To create a Controller in code, use the XafApplication.CreateController<ControllerType> method.

To implement a custom View Controller, use the ready-to-use Controller templates supplied with XAF (see Controllers).