Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IComplexViewItem.Setup(IObjectSpace, XafApplication) Method

Passes the XafApplication and IObjectSpace objects to the current IComplexViewItem.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#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