button

  • Thread starter Thread starter Davide Lo giudice
  • Start date Start date
D

Davide Lo giudice

Hallo

Can I put an image in a button?

If I use a controlTemplate, I lose some behaviours of the button, like the
changing of the color when it gets the focus.

How?, please

Thanks Davide (WPF + C#)
 
Davide,

You should just be able to set the content of the button to an image
source when you declare the button.

If you use a control template, you shouldn't lose the behavior. How are
you defining it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top