Dock Panels Example doesn't work


Sorry it 's me again (and I try to get to know every feature, but sometimes documentation is not 100% clear)

I followed the "get started" steps for"Dock Panels" under

Unfortunately I didn't manage to build a solution for Dock Panels from the scratch.
I attached my sample solution.

Could you please help me?

Thanks!! Best regards,

Attached files:


UserDescriptionPosted On
Sasha (Xafari Support)Client

Hello Kai,

This issue is examined.

Note: if you create project only DockPanels this function is works.

Regards, Sasha.

Sasha (Xafari Support)Client

Hello Kai,

This issue appear to Xafari framework when UIType used value TabbedMDI only (see attached file TabbedMDI.png).

You can use other values for UIType (MultipleWindowSDI, SingleWindowSDI) until we solve the problem with TabbedMDI.

Feel free to contact us if you have any question.

Regards, Sasha.

Attached files:
Sasha (Xafari Support)Client

Hello Kai!

For use DockPanels with UIType = TabbedMDI you have to create additional class (for example MyDetailViewForm):

Public Class MyDetailViewForm
    Inherits DetailViewForm
    Implements IDockManagerHolder
    Public ReadOnly Property DockManager() As DevExpress.XtraBars.Docking.DockManager Implements IDockManagerHolder.DockManager
            Dim _dockManager As DevExpress.XtraBars.Docking.DockManager
            _dockManager = New DevExpress.XtraBars.Docking.DockManager()
            _dockManager.DockingOptions.ShowCaptionImage = True
            _dockManager.Form = Me
            _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
        End Get
    End Property
End Class

and add CreateCustomTemplate event to WinApplication.cs:

Partial Public Class MyDockPanelsWindowsFormsApplication
    Inherits WinApplication
    Private Sub MyDockPanelsWindowsFormsApplication_CreateCustomTemplate(sender As Object, e As CreateCustomTemplateEventArgs) Handles Me.CreateCustomTemplate
        ...'actions for ARMs
        If e.Context = TemplateContext.View Then
            e.Template = New MyDetailViewForm
        End If
    End Sub
End Class

You could verify the changes in your attached file (


This instructions will be added in documentation Xafari in future.

Feel free to contact us if you have any question.

Regards, Sasha.

× This ticket is closed.

Write US