WebCustomUserControlViewItem.Setup(IObjectSpace, XafApplication) Method

Passes the XafApplication and IObjectSpace objects to the current WebCustomUserControlViewItem.

Namespace: DevExpress.ExpressApp.Web.Editors

Assembly: DevExpress.ExpressApp.Web.v18.2.dll

Declaration

public void Setup(
    IObjectSpace objectSpace,
    XafApplication application
)
Public Sub Setup(
    objectSpace As IObjectSpace,
    application As XafApplication
)

Parameters

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.

Remarks

The Setup method is called automatically when a View is shown.

See Also