var brush = new ImageBrush(); brush.ImageSource = new BitmapImage(new Uri("Images/myImage.png", UriKind.Relative)); button1.Background = brush;
mire meglett... -.- private void MainPage_Loaded(object sender, RoutedEventArgs e) { ApplicationBarIconButton button1 = ApplicationBar.Buttons[0] as ApplicationBarIconButton; if (button1 != null)…
This website uses cookies.