.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IComplexViewItem.Setup(IObjectSpace, XafApplication) Method

Passes the XafApplication and IObjectSpace objects to the current IComplexViewItem.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v21.1.dll

Declaration

void Setup(
    IObjectSpace objectSpace,
    XafApplication application
)

Parameters

Name Type Description
objectSpace IObjectSpace

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

application XafApplication

An XafApplication object that manages the current application.

Remarks

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