Dirkster99/AvalonDock

IconSource property does not work when binding defined in Style

JPhilC opened this issue · 1 comments

Hi there,

I have been struggling to get icons to display in LayoutItems and LayoutAnchorableItems by binding to an IconsSource property. In the end I cloned your repo hoping to see where I was going wrong but you seem to have the same problem in the MVVMTestApp. I tried this one as it most closely resembles how I am using AvalonDock.

The Document tabs should shown the document.png images but they do not. You set the IconSource property in the constructor of the viewmodel but the icon is not displayed when you open a document.

This is quite important for me as I want to shown a padlock to some that a file is locked by another user.

Kind regards,

Phil

I have the same problem. Any help?