Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ViewController() Constructor

Creates an instance of the ViewController<ViewType> class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ViewController()

Remarks

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).

See Also