Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

I have a "MetroFramework.Controls.MetroButton" with a dark grey color and a light grey color on mouse over.

I want to change these 2 colors but I can't do that despite the color change in the property panel.

I even tried to change the colors in FlatAppearence (circled in pink) but it does nothing

Do you know why?

Thanks

What I have tried:

Here are the screenshots

https://zupimages.net/up/23/20/p04f.png

https://zupimages.net/up/23/20/556d.png
Posted
Updated 20-May-23 0:59am
Comments
Graeme_Grant 20-May-23 6:44am    
This is not a standard library. Please contact the author(s) of the library that you are using.

1 solution

Go back to where yopu got the controls from - probably metroframework-modern-ui/MetroButton.cs at master · dennismagno/metroframework-modern-ui · GitHub[^] and ask there: we have no more knowledge of the control set inner workings than you do.

In fact, we have less: we don't even have the download you are using or the fork you branched.
 
Share this answer
 
Comments
QuickSilvain 2023 21-May-23 17:02pm    
Thanks, I'm not the one who got these "Metrobuttons" into trouble.
According to you, is it possible to replace these "Metrobutton" by normal buttons?

Sorry but I'm a beginner in C# so I don't know much
OriginalGriff 21-May-23 17:38pm    
Since I have no idea what these "metrobuttons" actually do, I can't possible comment! :D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900