IComplexControl.Setup(IObjectSpace, XafApplication) Method
An IObjectSpace object that provides methods to access the application database.
An XafApplication object that manages the current application.
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)
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Setup(IObjectSpace, XafApplication) method.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.