2

我的全景控件的背景图像存储在“/Shared/ShellContent/Background.png”中。

在我的 XAML 中,我将引用设置为:

<controls:Panorama.Background>
    <ImageBrush ImageSource="isostore:/Shared/ShellContent/Background.png" />
</controls:Panorama.Background>

但绑定似乎不起作用。

我已经使用出色的独立存储资源管理器验证了 PNG 文件的存在。

这种情况甚至可以通过 XAML 实现吗?

4

1 回答 1

0

这甚至是一个绑定,它是对隔离存储的引用。

如果你的隔离存储在绑定时是空的,那么它不会更新,因为没有onNotifyPropertychanged

于 2012-02-16T15:22:41.540 回答