DataBinding error in latest build

Docking/MDI for WPF Forum

Posted 9 years ago by SledgeHammer01
Version: 10.2.0531
Platform: .NET 4.0
Environment: Windows 7 (32-bit)
Avatar
Not sure exactly where this is coming from, but with the latest build, we are suddenly getting this binding error upon start up. Our setup is a ribbon window with 2 docking windows in a tabbed layout on the left.


System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='ActiproSoftware.Windows.Controls.Docking.ToolWindowContainer', AncestorLevel='1''. BindingExpression:Path=SelectedItem; DataItem=null; target element is 'DockingWindowTabPanel' (Name=''); target property is 'SelectedTab' (type 'UIElement')

Comments (1)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hello,

As long as the tabs of the ToolWindowContainer and it's ToolWindows is displaying correctly, then you can safely ignore this warning. These "errors" are often output even though the visual tree has not been fully constructed, at which point the binding resolves fine.

In the recent release, we move the DockingWindowTabPanel definition into the ToolWindowContainer.ItemsPanel, instead of defining it directly in the control template. This fixed a few issues with inherited properties not working properly when switching themes.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.