How to convert BitmapImage to Image RRS feed

  • Question

  • Hi I am new to windows development metro App

    I am confused how to convert BitmapImage to Image (UI element) so that I can display that is main screen (Some where in a Grid using Image )  . 

    Thanks in Advance 
    Tuesday, July 15, 2014 8:02 PM


  • You don't convert them. They are two parts that work together.

    The Image control displays the image. The BitmapImage contains the image data.

    You tie them together by setting the Image's Source to the BitmapImage:

    myImage.Source = myBitmapImage;


    Tuesday, July 15, 2014 9:54 PM