title: How to set image from url to button background?
body: <p>I would like to set the background image for a button to an image I have from a URL; but the following code does not work:</p>
  
  <pre><code>var button = new Button();
  Image image = new Image();
  image.Source = new BitmapImage(new Uri("https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-folder-128.png", UriKind.Absolute));                
  button = image;
  </code></pre>
  
  <p>Specifically "<code>button = image</code>" doesn't work, because Button isn't Image type. </p>
  
  <p>How should I set an image to be the background image of a button?</p>