Lier Xaml image bitmap

J'ai une image bitmap variable et je veux le lier à mon xaml fenêtre.

System.Reflection.Assembly thisExe;
        thisExe = System.Reflection.Assembly.GetExecutingAssembly();
        string[] resources = thisExe.GetManifestResourceNames();
        var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("SplashDemo.Resources.Untitled-100000.png");
        Bitmap image = new Bitmap(stream);

Et c'est mon code xaml

<Image Source="{Binding Source}" HorizontalAlignment="Left"  Height="210" Margin="35,10,0,0" VerticalAlignment="Top" Width="335">
    </Image>

u peut m'aider de la liaison de cette bitmap variable de ce code xaml de l'image par le code C#?

InformationsquelleAutor user1493114 | 2012-06-30