ButchersBoy / Dragablz

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

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

Open GanterFengDavid opened 2 years ago

GanterFengDavid commented 2 years 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.