ButchersBoy / Dragablz

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

Layout: Cannot change FloatingItem Content #269

Open Mazzelfassel opened 2 years ago

Mazzelfassel commented 2 years ago

I'm currenty trying to use a Layout component to display a list of models inside my application. Applying these to the FloatingItemsSource property in itself works but then I encountered a Problem.

The FloatingItems are created inside the Layout and have the model as their DataContext but their Content is empty. I've already created a suitable logic to supply a content for the Item (currently as a DataTemplate and a Template Selector) but I cannot find any way to inject it into the System.