c# - Substitute grid's background when changing VisualState in Windows Store App -


my windows store app has few visualstates, , each of them have different picture in background (which related orientaton of device, size of screen etc.) i've found in internet, 1 option use storyboard, can find examples related changing colour of background (which not suitable me, have image in background , not plain colour brush.)

i thought this:

<storyboard>     <coloranimation storyboard.targetname="buttonbrush"          storyboard.targetproperty="color" to="red" /> </storyboard> 

but there no substitute coloranimation use image. there known xaml/c# solution, or standard way background image source substitution different visual states (maybe using visual studio or blend?)

to use different backgrounds different visual states 1 needs have multiple images spread in background, 1 of them visible each visual state (and rest of images collapsed.) may important change zindexes of elements set them "on top" of images in background.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -