我写在load里, 会报错 显示ApplicationBar的值为null
我希望把ApplicationBar设置为隐藏,因此在xaml中把IsVisible的属性设成false, 当程序加载完成后, 希望它成为true, 请问IsVisible=true这句应该写在哪里?
你好,
这里假设你创建了一个BackgroundWorker实例,需要将这句写在该实例的RunWorkerCompleted事件里。
Haixia MSDN Community Support | Feedback to us Develop and promote your apps in Windows Store Please remember to mark the replies as answers if they help and unmark them if they provide no help.
this.loaded+=xxx
void xxx
this.Applicationbar.xx=xxx