Styling bug on custom data template

Topics: Bugs
Aug 12, 2011 at 6:27 PM
Edited Aug 12, 2011 at 6:29 PM

I have created a custom ListViewItem data template with a custom style. When attaching the object through Caliburn.Micro all of the styling seems to work, EXCEPT for the Foreground property for my text elements. If I remove the binding and place a few static ListViewItemobjects in the items collection, the styling behavior works as expected all the way around. If I place styling directly on the elements in the datatemplate and bind, it works correctly, but then I've lost that styling being applied to the ListViewItem as a whole (mouse over & selection events won't work as expected).

Anyone have suggestions?

I can attach code if necessary, but seeing how it works if I don't bind, it probably won't help...

Thanks!

Aug 12, 2011 at 9:01 PM

Nevermind, had a conflicting issue and it works great now. Turned out I was the bug... :)