Skip to main content
.NET 6.0+

ControlViewItem.Setup(IObjectSpace, XafApplication) Method

Passes the XafApplication and IObjectSpace objects to the current ControlViewItem.

Namespace: DevExpress.ExpressApp.Layout

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

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

See Also