Remove button border windows forms
10,810
You need to set the button to use the flat appearance.
button1.FlatStyle = FlatStyle.Flat;
button1.FlatAppearance.BorderSize = 0;
Author by
Ionuț Gabriel Pițigoi
Updated on June 04, 2022Comments
-
Ionuț Gabriel Pițigoi almost 2 years
Is there a way to remove the white border of the button.I added an image to the button and I got this border. I tried with
button1.FlatAppearance.BorderSize = 0;
but it doesn't work.