private void PrepareApplicationBar() { ApplicationBarIconButton descriptionButton = new ApplicationBarIconButton(new Uri("/Resources/Icons/info.png", UriKind.Relative)); descriptionButton.Click += OnDescriptionButtonClicked; descriptionButton.Text = FileLanguage.SHOW_DETAILS; ApplicationBarIconButton linksButton = new ApplicationBarIconButton(new Uri("/Resources/Icons/link.png", UriKind.Relative)); linksButton.Click += OnLinksButtonClicked; linksButton.Text = FileLanguage.SHOW_LINKS; ApplicationBarIconButton helpButton = new ApplicationBarIconButton(new Uri("/Resources/OriginalPlatformIcons/appbar.questionmark.rest.png", UriKind.Relative)); helpButton.Click += NavigateToHelpView; helpButton.Text = FileLanguage.HELP; ApplicationBar = new ApplicationBar(); ApplicationBar.IsMenuEnabled = false; ApplicationBar.PopulateWithButtons(new ApplicationBarIconButton[] { descriptionButton, linksButton, helpButton }); }
private void PrepareApplicationBar() { ApplicationBar = new ApplicationBar(); ApplicationBar.IsMenuEnabled = false; ApplicationBarIconButton helpButton = new ApplicationBarIconButton(new Uri("/Resources/OriginalPlatformIcons/appbar.questionmark.rest.png", UriKind.Relative)); helpButton.Click += NavigateToHelpView; helpButton.Text = FileLanguage.HELP; ApplicationBar.PopulateWithButtons(new ApplicationBarIconButton[] { helpButton }); }