Sfbutton how to remove border lines

Can't change the border to 0? I hope to get help


1 Reply

BA BagavathiPerumal Apranandham Syncfusion Team August 9, 2022 07:10 AM UTC

Hi Hpf,


We suggest you to use sfButton1.Style.Border property as null to remove the border line from SfButton. Please refer to the documentation and attached sample for your reference.


Code snippets:

sfButton1.Style.Border = null;

sfButton1.Style.HoverBorder = null;

sfButton1.Style.FocusedBorder = null;

sfButton1.Style.PressedBorder = null;


Documentation link: Button Types in Windows Forms Button control | Syncfusion



Regards,
Bagavathi Perumal A



Attachment: SfButton_WF_96c9af71.zip

Loader.
Up arrow icon