This example demonstrates how to add a custom control to a Detail View. If you want to display standard XAF Actions in a Detail View, use the technique described in the following topic: How to: Include an Action to a Detail View Layout.
See the following help topic for more information: How to: Use a Custom View Item to Add a Button to a Detail View.
Files to look at:
- ButtonDetailViewItemWeb.cs (VB: ButtonDetailViewItemWeb.vb)
 - Model.DesignedDiffs.xafml (VB: Model.DesignedDiffs.xafml)
 - ButtonDetailViewItemWin.cs (VB: ButtonDetailViewItemWin.vb)
 - Model.DesignedDiffs.xafml (VB: Model.DesignedDiffs.xafml)
 - BusinessModel.cs (VB: BusinessModel.vb)