SfForm Border Line Problem

Hello,
I am using Syncfusion winform tool. When I was adding SfForm to my project, 

I see the form shown in the attachment.As you can see there is a problem on form corners.How can I fix it?

Thank you.


Attachment: SfForm_Ghost_Border_7bd444e4.rar

1 Reply 1 reply marked as answer

VS Vijayarasan Sivanandham Syncfusion Team August 19, 2022 04:12 PM UTC

Hi Halit,

You can resolve the reported problem by setting the 0 value for ShadowOpacity and InactiveShadowOpacity property in SfForm. Please refer to the below code snippet,

public partial class Form1 : SfForm

{

        public Form1()

        {

            InitializeComponent();

            this.Style.ShadowOpacity = 0;

            this.Style.InactiveShadowOpacity = 0;

        }

}


Please find the sample in the attachment and let us know if you have any concerns in this.


Regards,

Vijayarasan S


If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.


Attachment: SfFormDemo_a0b88de.zip

Marked as answer
Loader.
Up arrow icon