Answers for "set img source wpf"

C#
1

how to add image to wpf

<Image>
      <Image.Source>
           <BitmapImage  UriSource="../../images/jamsnaps-dark.png" />
      </Image.Source>
   </Image>
Posted by: Guest on February-16-2021
0

wpf set image source in code behind

myImage.Source = new BitmapImage(new Uri(@"/Images/foo.png", UriKind.Relative));
Posted by: Guest on August-18-2021

C# Answers by Framework

Browse Popular Code Answers by Language