Add Background Image on button
I got a problem. I want to add a background image on button. How can do this and which property should i use for that ?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted May 31, 2011, 11:13 PM EDT
If you are using vs 2008(3.0 framework onwards)
We have Imagebutton control(available that in toolbox)
Suthish NairRank #92 · 22.8K reputationPosted May 31, 2011, 11:19 PM EDT
<Button.Background>
<ImageBrush ImageSource="dock.jpg" />
Button.Background>
or, refer article: WPF Button with Image