禁用appbarButton按钮 appbar button无法通过x:name引用 (ApplicationBar.Buttons[0] as ApplicationBarIconButton).IsEnabled = false;进行禁用