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.
Unfortunately, activation email could not send to your email. Please try again.

TabControlAdv TabPanel Cannot Remove White Border

Thread ID:

Created:

Updated:

Platform:

Replies:

106119 Dec 11,2012 11:44 AM Dec 18,2012 04:41 AM Windows Forms 5
loading
Tags: Tools
Gaukhar Massabayeva
Asked On December 11, 2012 11:44 AM

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

Athiram S [Syncfusion]
Replied On December 13, 2012 07:06 AM

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

 


Gaukhar Massabayeva
Replied On December 13, 2012 12:02 PM

Thank you

Paul Anderson S [Syncfusion]
Replied On December 17, 2012 04:23 AM

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


Gaukhar Massabayeva
Replied On December 17, 2012 06:18 AM

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. :(

Paul Anderson S [Syncfusion]
Replied On December 18, 2012 04:41 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;