in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

Gary's Blog

XAF Cookbook #4 – Customise the Default Detail View for Your BO

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:
Digg This
Published Sep 04 2008, 03:54 PM by Gary Short (Developer Express)
Filed under: ,
Technorati tags: XAF, XAF Cookbook

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Verification code: Required
   
Add
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED