Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

VSIX image rendered in designer and not in runtime

$
0
0

Hello,

I have a general problem with rendering a picture on a button.

I have tried several options that I found on internet.

Here is my code snippet:

<Button Name="AboutBtn" Height="30" Width="30"><Button.Template><ControlTemplate><Image Source="/Images/qMark.png" Visibility="Visible" Stretch="Fill" Height="30" Width="30"/></ControlTemplate></Button.Template></Button>

What can be a problem that the image doesn't render?

I have tried to add to source the:"pack://siteoforigin:,,,", however it did not help.

Thanks,

Nikolay.



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>