イメージをパノラマ タイトルとして使用するときにイメージ パスをバインドできるかどうか疑問に思っていました。ソースのバインドが必要な理由は、ユーザーが電話の背景を「白」にすると、ロゴが黒くなり、逆に。
これは私が使用しているコードです:
<controls:Panorama.TitleTemplate>
<DataTemplate>
<Image Source="/PanoramaApp5;component/Images/logo.png" Margin="14,105,0,10" HorizontalAlignment="Left" Name="logo" Stretch="Fill" VerticalAlignment="Top" Width="700" Height="70"/>
<!--<TextBlock Text="{Binding Content, RelativeSource={RelativeSource TemplatedParent}}" FontSize="100" Margin="10,50,0,0" />-->
</DataTemplate>
</controls:Panorama.TitleTemplate>
デフォルトのタイトル (テキスト) のままでも問題なく動作しますが、画像として必要です。