Back to Devexpress

IComplexViewItem.Setup(IObjectSpace, XafApplication) Method

expressappframework-devexpress-dot-expressapp-dot-editors-dot-icomplexviewitem-dot-setup-x28-devexpress-dot-expressapp-dot-iobjectspace-devexpress-dot-expressapp-dot-xafapplication-x29.md

latest2.2 KB
Original Source

IComplexViewItem.Setup(IObjectSpace, XafApplication) Method

Passes the XafApplication and IObjectSpace objects to the current IComplexViewItem.

Namespace : DevExpress.ExpressApp.Editors

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
void Setup(
    IObjectSpace objectSpace,
    XafApplication application
)
vb
Sub Setup(
    objectSpace As IObjectSpace,
    application As XafApplication
)

Parameters

NameTypeDescription
objectSpaceIObjectSpace

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

IComplexViewItem Interface

IComplexViewItem Members

DevExpress.ExpressApp.Editors Namespace