开发者

WP7 Changing 1 layout element based on another

Having no luck here trying to find a solution to this.

I've set up a looping selector based on this guide. (I also used the ListLoopingDataSource class in Part 2 in order to have strings in my looping list).

What I want to be able to do is then change another element (an image box/placeholder) on my layout, based on what is currently selected in the looping selector.

No real idea how to do this, the开发者_StackOverflow onSelectionChanged event is kind of abstracted and not really useful? I'm not sure how to programmatically change images either, it doesn't look like I can access a resource from the code base, only from the xaml.

Any help/suggestions would be greatly appreciated.


I found that I could do this by using binding.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜