• 0

Button Click


Question

i am using an image for the background of a button, but when the button is clicked, there is an event i want to remove which is a switch from my image to nothing with a blue tint that flashes... when the button is click i just want my image to show, how do you change the clicked and hoover controls for buttons?

Link to comment
https://www.neowin.net/forum/topic/1128782-button-click/
Share on other sites

5 answers to this question

Recommended Posts

  • 0

if you set FlatStyle property to Flat. And the FlatAppearance Border Width to 0 [on the button], that should do what you want.

There is also "MouseHover" events that you can modify to do that, but the above steps is much easier.

Link to comment
https://www.neowin.net/forum/topic/1128782-button-click/#findComment-595430046
Share on other sites

  • 0

if you set FlatStyle property to Flat. And the FlatAppearance Border Width to 0 [on the button], that should do what you want.

There is also "MouseHover" events that you can modify to do that, but the above steps is much easier.

what about in a WPF how do you change these values

Link to comment
https://www.neowin.net/forum/topic/1128782-button-click/#findComment-595430118
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

  • Recent Achievements

    • One Month Later
      Sopa flores earned a badge
      One Month Later
    • First Post
      StaticMatrix earned a badge
      First Post
    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      PsYcHoKiLLa
      208
    3. 3
      +Edouard
      160
    4. 4
      Steven P.
      96
    5. 5
      ATLien_0
      81
  • Tell a friend

    Love Neowin? Tell a friend!