Add an Editor to a Detail View
This lesson explains how to add an editor to a Detail View. In this example, we add an editor for the Department.Office property to the Contact Detail View.
Before you proceed, take a moment to review the following lesson:
In the MySolution.Module project, open the Model.DesignedDiffs.xafml file in the Model Editor.
Navigate to the Views | MySolution.Module.BusinessObjects node. Expand the Contact_DetailView child node and click the Layout node.
The Model Editor displays a design surface that imitates the Contact Detail View. Right-click the View’s empty space and choose Customize Layout.
In the invoked Customization window, click the Add button.
In the Object Model dialog, expand the Department node, select the Office field, and click OK.
The Office: item appears on the Hidden Items tab of the Customization window.
Drag the Office: item to the required position on the Contact Detail View.
Run the application and invoke the Contact Detail View. The Office editor is located in the same column as the Department editor, Position editor, and other editors.