• 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

    • Let Apple have its way, as customers will eschew Apple in favor of more open solutions--which is what they should be doing anyway!... I'm not a fan of Apple at all, but when the lawyers in the EUC start dictating to companies how their software should be made, I think the companies should just drop the EU altogether as a market. EUC lawyers make a mint every time they levy a fine on a successful American software company. What a racket. The EU consumer should be the final word on what products he buys and which ones he doesn't, but the EUC seeks to put itself into the position of the EU customer, and make those decisions for him, under the guise of "helping him." Q. What do you do when the person at your door says, "Hi! I'm from the government, and I'm here to help you make intelligent buying decisions!" A. Grab your possessions and run for the hills...
    • Just another show from my childhood ruined by wokeness 'politically correct' BS. They should let some things just die out gracefully.
    • "Pot meet kettle" "Is the shoe on the other foot?" "It's only okay when I am lying about stuff" F*** off nigel 
    • Some Doctor Who news... 'Doctor Who' Officially Has a New Streaming Home (AMC+) DOCTOR WHO Christmas Special Canceled, Russell T Davies Leaving Show
    • My Xbox One is already the most power efficient console I've ever owned. Haven't turned the thing on in ten years.
  • Recent Achievements

    • 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
    • First Post
      X-No-file earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      520
    2. 2
      PsYcHoKiLLa
      210
    3. 3
      +Edouard
      147
    4. 4
      Steven P.
      92
    5. 5
      ATLien_0
      80
  • Tell a friend

    Love Neowin? Tell a friend!