Windows phone 7 如何通过代码在应用程序中设置背景图像并保存设置
如何在我的应用程序中按代码设置背景图像并保存设置?例如,如果您将图像放在Windows phone 7 如何通过代码在应用程序中设置背景图像并保存设置,windows-phone-7,windows-phone-8,windows-phone-8.1,Windows Phone 7,Windows Phone 8,Windows Phone 8.1,如何在我的应用程序中按代码设置背景图像并保存设置?例如,如果您将图像放在资产文件夹中,您可以始终使用此图像作为背景 <Grid> <Grid.Background> <ImageBrush ImageSource="/Assets/MyImage.png" /> </Grid.Background> </Grid> 到目前为止您尝试了什么?
资产
文件夹中,您可以始终使用此图像作为背景
<Grid>
<Grid.Background>
<ImageBrush ImageSource="/Assets/MyImage.png" />
</Grid.Background>
</Grid>
到目前为止您尝试了什么?