We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

TabControlAdv TabPanel Cannot Remove White Border

My TabStyle is

TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2007);

There is a white border underneath the tabs I cannot seem to find a way to remove.

The image is attached. Any help much appreciated.

 

 



Border_9ac19c2.zip

5 Replies

AS Athiram S Syncfusion Team December 13, 2012 12:06 PM UTC

Hi Gaukar,

 

Thanks for your interest in Syncfusion products.

 

We have forwarded your query to the concerned team. They will get back to you soon.

 

Appreciate your patience.

 

Regards,

Athiram S

 



GM Gaukhar Massabayeva December 13, 2012 05:02 PM UTC

Thank you


PA Paul Anderson S Syncfusion Team December 17, 2012 09:23 AM UTC

Hi Gaukhar,

Thanks for your interest in Syncfusion products.

You can achieve your requirement of hiding the white line, by disabling the TabControlAdv’s ThemeEnabled property as per the following code snippet

[C#]

this.tabControlAdv1.BorderVisible = false;

this.tabControlAdv1.ThemesEnabled = false;

          

Please let us know if you have any concerns.

 

Regards,

Paul Anderson S



GM Gaukhar Massabayeva December 17, 2012 11:18 AM UTC

I tried what you advised:
 
private void SetTabbedMDIManagerStyles()
{
            this.tabbedMDIManagerDiv.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2007);
            this.tabbedMDIManagerDiv.TabControlAdded += new Syncfusion.Windows.Forms.Tools.TabbedMDITabControlEventHandler(this.tabbedMDIManagerDiv_TabControlAdded);
            this.tabbedMDIManagerDiv.AttachToMdiContainer(this);
 }
        TabControlAdv tabControl;
        private void tabbedMDIManagerDiv_TabControlAdded(object sender, Syncfusion.Windows.Forms.Tools.TabbedMDITabControlEventArgs args)
        {
            tabControl = args.TabControl;
            
            tabControl.TabPanelBackColor = Color.FromArgb(51, 51, 51);
            tabControl.BorderVisible = false;
            tabControl.ThemesEnabled = false;
            tabControl.ActiveTabColor = Color.FromArgb(42, 110, 187);
        }
 
But sadly the white border is still there. :(


PA Paul Anderson S Syncfusion Team December 18, 2012 09:41 AM UTC

Hi Gaukhar,


Thanks for your interest in Syncfusion products.

 

I am afraid that I am unable to reproduce this issue. Also I have created a simple sample to test this issue and it is available in the following link.

 

Sample :

 http://www.syncfusion.com/downloads/Support/DirectTrac/98671/sample98272983.zip'>sample36389399.zip

 

 

Please have a look at the sample and if the issue still exists, could you please try reproducing it in the above sample or send reproducible sample and the reproducing steps so that we could sort out the cause of the issue and provide you the solution?

 

 

 

Please let us know if you have any concerns.

 

 

Regards,

 

Paul Anderson S


Loader.
Live Chat Icon For mobile
Up arrow icon