Добавьте новый класс в Windows Forms Module Project, наследуйте его от DetailViewForm и реализуйте интерфейс IDockManagerHolder.

 

public class TabbedMDIDetailViewForm: DetailViewForm, IDockManagerHolder

    {

        public DockManager DockManager

        {

            get

            {

                var dockManager = new DockManager();

                dockManager.DockingOptions.ShowCaptionImage = true;

                dockManager.Form = this;

                dockManager.TopZIndexControls.AddRange(new string[] {

                        "DevExpress.XtraBars.BarDockControl",

                        "DevExpress.XtraBars.StandaloneBarDockControl",

                        "System.Windows.Forms.StatusBar",

                        "DevExpress.XtraBars.Ribbon.RibbonStatusBar",

                        "DevExpress.XtraBars.Ribbon.RibbonControl"

                });

                return dockManager;

            }

        }

    }

 

Модифицируйте файл WinApplication.cs, подпишитесь на событие CreateCustomTemplate:

 

private void TabbedWindowsFormsApplication_CreateCustomTemplate(object sender, CreateCustomTemplateEventArgs e)

        {

            if (e.Context == TemplateContext.View)

                e.Template = new TabbedMDIDetailViewForm();

        }