Skip to content

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

Description

@JPhilC

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions