I have a wpf page defined in a runtime bound dll.
I am trying to place an image on the page from a folder in the main app.
The main as is called “Panel”.
I am doing this:
<Image Source="/Panel;component/Images/LRL.bmp" Height="46" HorizontalAlignment="Left" Margin="306,90,0,0" Name="imgLRL" Stretch="Fill" VerticalAlignment="Top" Width="127" />
While the image resolves at design time, it is blank when run. Any suggestions?
I just tried, per suggestion:
<Image Height="46" HorizontalAlignment="Left" Margin="306,90,0,0" Name="imgLRL" Stretch="Fill" VerticalAlignment="Top" Width="127" Source="pack://application:,,,/Panel;component/Images/LRL.bmp" />
but same thing
Snoop helped me resolve this. Thanks for the turn on to a new utility for me.