ButchersBoy / Dragablz

Dragable and tearable tab control for WPF
http://dragablz.net
MIT License
2.17k stars 320 forks source link

MDI: New added floating item will not show at the front. #272

Open GanterFengDavid opened 1 year ago

GanterFengDavid commented 1 year ago

Xaml:

<dockablz:Layout 
    x:Name="MdiLayout"
    FloatingItemHeaderMemberPath="Header"
    FloatingItemDisplayMemberPath="Page"
/>

There is one floating item in the MDI container, and have been clicked to focus on. If I add new item with the following code:

MdiLayout.FloatingItems.Add(node);

the new item will show behind the previous item.

This is very annoying.