IComplexControl.Setup(IObjectSpace, XafApplication) Method
Passes the XafApplication and IObjectSpace objects to the current IComplexControl.
Namespace: DevExpress.ExpressApp.Editors
Assembly: DevExpress.ExpressApp.v24.1.dll
NuGet Package: DevExpress.ExpressApp
Declaration
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 following topics to see an example of implementing this method.
- How to: Show a Custom Data-Bound Control in an XAF View (WinForms)
- How to: Show a Custom Data-Bound Control in an XAF View (ASP.NET Web Forms)
See Also