Hope this is not a dupe.
I would like to be able to do the following in XAML:
Solved it myself with help from the blogs.
As far as I understand you simply can't do the attached property binding inside.
The following solves the problem in an instant (ItemContainerStyle!):