Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Set Image to button

$
0
0

How to set image to a Button?

I tried this:

btnExemple = new Button(){
    Image = (FileImageSource) ImageSource.FromResource("ic_search.png"),
}

But it don't work.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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