@TedRogers said: imageButton.SetImageResource(imageResourceId);
or imageButton.SetImageDrawable(imageDrawable);
Thank you @TedRogers ,
set ImageButton background image from code behind in c# Xmarine is working fine. Please suggest me how do I GET the background image.
I need to know which is the current background image of ImageButton control from code behind.
Answers
imageButton.SetImageResource(imageResourceId);
or
imageButton.SetImageDrawable(imageDrawable);
Thank you @TedRogers ,
set ImageButton background image from code behind in c# Xmarine is working fine. Please suggest me how do I GET the background image.
I need to know which is the current background image of ImageButton control from code behind.
var bgDrawabke = imageButton.Background;
Thank you.Working!