IComplexViewItem.Setup(IObjectSpace, XafApplication) Method

Passes the XafApplication and IObjectSpace objects to the current IComplexViewItem.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v18.2.dll


void Setup(
    IObjectSpace objectSpace,
    XafApplication application
Sub Setup(
    objectSpace As IObjectSpace,
    application As XafApplication


Type Name Description
IObjectSpace objectSpace

An IObjectSpace object that provides methods to access the application database.

XafApplication application

An XafApplication object that manages the current application.


The Setup method is called automatically when a View is shown. Refer to the IComplexViewItem interface description to see an example of implementing this method.

See Also