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.

BorderStyle not responding when using a TabbedMDIManager

Thread ID:





50620 Oct 16,2006 06:20 AM Oct 24,2006 06:52 PM Windows Forms 5
Tags: Tools
Luis Polanco
Asked On October 16, 2006 06:20 AM

Hi there,
Using syncfusion 4.302.0.30 I'm trying to show all the MDITabPanels managed by a TabbedMDIManager with a 'None' BorderStyle but the control seems not to be responding. I want them to seem flat controls but I can't. It always seems to be sunken into the parent MDI.

I'm using the next code in order to make it works:

void _TabbedMDIManager_TabControlAdding ( object sender, TabbedMDITabControlEventArgs args )
args.TabControl = new MDITabPanel ( this._TabbedMDIManager );
args.TabControl.TabStyle = typeof ( Syncfusion.Windows.Forms.Tools.TabRendererOffice2003 );
args.TabControl.Alignment = TabAlignment.Bottom;
args.TabControl.BorderStyle = BorderStyle.None;


private void TabControl_ControlAdded ( object sender, ControlEventArgs e )
if ( e.Control is TabPageAdv )
(( TabPageAdv ) e.Control ).BorderStyle = BorderStyle.None;

Could someone please tell me what I'm doing wrong?

Thank's in advance!

Mano J [Syncfusion]
Replied On October 16, 2006 07:09 AM


You should use TabbedMDIManager.TabControlAdded event instead of TabbedMDIManager.TabControlAdding events.

this.tabbedMDIManager.TabControlAdded += new TabbedMDITabControlEventHandler(tabbedMDIManager_TabControlAdded);

private void tabbedMDIManager_TabControlAdded(object sender, TabbedMDITabControlEventArgs e)
e.TabControl.TabStyle = typeof ( Syncfusion.Windows.Forms.Tools.TabRendererOffice2003 );
e.TabControl.Alignment = TabAlignment.Bottom;
e.TabControl.BorderStyle = BorderStyle.None;

Please let me know if this works for you. Thanks for using Essential Tools.


Luis Polanco
Replied On October 16, 2006 07:54 AM

Hi there again,

I've found my bordered style window. It was the MdiClient attached to my MDI main window the one who was drawing a BorderStyle.Fixed3D border not the tabbed windows. In order to solve it, I've searched the MdiClient and I've changed its border style to none and now it's working fine!

Thank's anyway for your quick response.

Mano J [Syncfusion]
Replied On October 17, 2006 07:07 PM


Thanks for the update.

Best Regards,

Daniel Garcia
Replied On October 24, 2006 01:42 AM

I'm not sure if I understand this....

System.Windows.Forms.Form doesn't have a MdiClient member, so what do you mean by "MdiClient attached to my MDI main window".

Also MdiClient doesn't have a BorderStyle member. Am I missing something ?


Purusothaman R [Syncfusion]
Replied On October 24, 2006 06:52 PM

Hi Daniel,

This issue is not related with Syncfusion TabbedMDI Manager.

By the design of .NET framework, MdiClient doesn't have a BorderStyle member.

Thanks for using Syncfusion Products.

Best Regards,


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.