// Sample code for building a localized ApplicationBar private void BuildLocalizedApplicationBar() { // Set the page's ApplicationBar to a new instance of ApplicationBar. ApplicationBar = new ApplicationBar(); ApplicationBar.Buttons.Add(S1NyanThreadAppBarButton); ApplicationBar.Buttons.Add(SettingView.GetSettingAppBarButton()); ApplicationBar.Buttons.Add(SettingView.GetAboutAppBarButton()); ApplicationBar.IsVisible = false; }
public void ViewLoaded(object vm) { Popup.Visibility = Visibility.Collapsed; ApplicationBar.IsVisible = true; SettingView.UpdateModelName(); }