Set Image to button

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.

Posts

Sign In or Register to comment.