0
私はWindows Phone開発を初めて使い、UserControl内に背景画像を設定するのが難しいです。静的リソースとして持っていたい、画像はその特定のxamlファイル。私のプロジェクトのAssetsフォルダに既に が保存されています。リソースコレクションであなたのコード内のUserControl内で背景画像を定義する
<UserControl
x:Class="OrangePulse.LoginControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:OrangePulse"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="800"
d:DesignWidth="500">
<UserControl.Resources>
<BitmapImage x:Key="splashScreen" UriSource="/Assets/loginBgd.png"/>
</UserControl.Resources>