The icons of the ApplicationBar buttons, the creation code are not displayed:

// Конструктор public MainPage() { InitializeComponent(); // Локализация ApplicationBar BuildLocalizedApplicationBar(); } // ApplicationBar private void BuildLocalizedApplicationBar() { // Установка нового экземпляра ApplicationBar. ApplicationBar = new ApplicationBar(); // Кнопка "Add" ApplicationBarIconButton Add = new ApplicationBarIconButton(new Uri("/Assets/AppBar/Add.png", UriKind.Relative)); Add.Text = AppResources.AppBarAdd; ApplicationBar.Buttons.Add(Add); // Кнопка "Edit" ApplicationBarIconButton Edit = new ApplicationBarIconButton(new Uri("/Assets/AppBar/Edit.png", UriKind.Relative)); Edit.Text = AppResources.AppBarEdit; ApplicationBar.Buttons.Add(Edit); // Кнопка "Delete" ApplicationBarIconButton Delete = new ApplicationBarIconButton(new Uri("/Assets/AppBar/Delete.png", UriKind.Relative)); Delete.Text = AppResources.AppBarDelete; ApplicationBar.Buttons.Add(Delete); // Кнопка "Connect" ApplicationBarIconButton Connect = new ApplicationBarIconButton(new Uri("/Assets/AppBar/Connect.png", UriKind.Relative)); Connect.Text = AppResources.AppBarConnect; ApplicationBar.Buttons.Add(Connect); } 

There are icons in the / Assets / AppBar / folder, the icons are standard, pulled out of the SDK itself, size 76x76, for Dark themes.

What to do xs, the problem is both on the emulator and on the phone.

    1 answer 1

    Answer:

    You need to add the icons to the project as well. In Visual Studio select folder Assets. Select the Existing Items ... In the dialog box you can add (add.png, edit.png and Delete.png in your case).

    Try the following this http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff431806(v=vs.105).aspx to ensure your icons are accessible by the project. If you want to get it, you should be able to get it.