Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IconSource property does not work when binding defined in Style #483

Open
JPhilC opened this issue May 24, 2024 · 1 comment
Open

IconSource property does not work when binding defined in Style #483

JPhilC opened this issue May 24, 2024 · 1 comment

Comments

@JPhilC
Copy link

JPhilC commented May 24, 2024

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

@JPhilC JPhilC changed the title IconSource property does working when binding defined in Style IconSource property does not work when binding defined in Style May 24, 2024
@spaceman101
Copy link

I have the same problem. Any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants