Silverlight - Binding ImageSource to Rectangle Fill
- by Matt.M
Blend 4 is telling me this is invalid markup and its not telling me why:
<ImageBrush Stretch="Fill" ImageSource="{Binding Avatar, Mode=OneWay}"/>
I'm pulling data from a Twitter feed, saving to an ImageSource, and then binding it to an ImageBrush(as seen below) to be used as the Fill for a Rectangle. Here is more context:
<Rectangle…