Error in changing the background dynamically

前端 未结 1 1607
北荒
北荒 2021-01-24 12:10

First i\'ve created a button(named as BackgroundChooser) that is used to change the background image dynamically(they can select their own image as background). But i have alrea

相关标签:
1条回答
  • 2021-01-24 12:48

    instead of app.RootFrame.Background, try setting the Background property on some display object on your page such as myPanoramaControl.Background = imageBrush; or LayoutRoot.Background = imageBrush; (where LayoutRoot is the name of the default grid control for a new WP Page)

    0 讨论(0)
提交回复
热议问题