Problem
You have created you own custom business object but you do not like the default layout of the details view.
Solution
Use the Model Editor (either at design time or runtime) or access the Layout Control in code to affect the required changes.
Discussion
At design time, open the Model Editor and navigate to the Views –> YourBO_DetailsView –> Layout node. Right click on the right hand pane and select “Customize Layout”. Drag and drop the elements where they are required.
At runtime select Tools –> Model Editor and follow the steps above.
You can also access the Layout Control in code and affect the changes you require.
Full details of these three options can be found in our documentation.
Technorati tags:
XAF Cookbook