Reputation: 43
I just like to ask how this Buttonstyle is called in .net:
https://i.sstatic.net/gVNuo.png
And How do I color the borders gray? It should look like in the Image.
Upvotes: 0
Views: 13036
Reputation: 2475
That is a "FlatStyle" button, you can set the style, text colour, border colour and mouse-over colour like so:
Button1.FlatStyle = FlatStyle.Flat
Button1.ForeColor = System.Drawing.Color.Black
Button1.FlatAppearance.BorderColor = System.Drawing.Color.Gray
Button1.FlatAppearance.MouseOverBackColor = System.Drawing.Color.LightGray
Upvotes: 1