ButchersBoy / Dragablz

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

Regarding data binding to TabablzControl.ItemsSource with dockable tabs #194

Open EternalWind opened 6 years ago

EternalWind commented 6 years ago

Hi. I am trying to setup a tearable/dockable tab control with the ItemsSource of TabablzControl being data bind. Since the DefaultInterLayoutClient just skips cloning properties that are data bind, it looks like I need to implement a customized version of it. I tried to implement it by using the ParentBinding property from the from DependencyObject. This indeed successfully clones those data bind properties but also results in exceptions in DragablzItemsControl.ItemDragCompleted.

How should a InterLayoutClient supporting data binding to ItemsSource be implemented? Any samples? Thanks!