The Accelerator support 2 different types of tab item controls in WPF: AB_TabItem and AB_DockingTabItem. AB_TabItem is a wrapper around the standard WPF TabItem control and AB_DockingTabItem is a wrapper around a 3rd party control called Dragablz.

You can choose which tab style to generate in the standards configuration.

The Accelerator generates by default a DetailFieldsTab and an AuditFieldsTab.  You will see these 2 tabs in the Detail XAML.  These tabs are already setup by the framework to have the correct data context as well as to show in the preview Tab Control on the Content Window.

If you need to add additional Tab Items to your WPF Detailer, then you can add additional Tab Items in the XAML. Make sure to use the same Tab Item that the DetailFieldsTab and AuditFieldsTab use.

If you want your new tab item to use the same Data Context as the other tabs and have the Accelerator runtime manage setting it, then you need to add the following line of code to your am_SetParentProperties method in the detail code behind.

ap_AdditionalTabItemsToSetDataContextOn.Add(GoogleMapsTab);

If you want to have this new tab show in the preview Tab Control on the Content Window, then you need to to add the following line of code to your am_SetParentProperties method in the detail code behind.

am_AddTabToPreview(new AB_DockingTabItem[] { GoogleMapsTab});

This is an example of what it may look like:

protected override void am_SetParentProperties()
{
     RG_SetParentProperties();    
     base.am_SetParentProperties();
     // Add Google and Bing Maps to Preview
     am_AddTabToPreview(new AB_DockingTabItem[] { GoogleMapsTab, BingMapsTab });

     ap_AdditionalTabItemsToSetDataContextOn.Add(GoogleMapsTab);

     ap_AdditionalTabItemsToSetDataContextOn.Add(BingMapsTab);
}