)
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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to switch between TabStyle in WinForms TabbedMDIManager?

Platform: WinForms |
Control: TabbedMDIManager |
Published Date: January 29, 2015 |
Last Revised Date: January 30, 2020

Tab styles

In TabbedMDIManager, you can change the Tab Style by using its TabStyle property. The following code example illustrates the same.

C#

//To set 2D tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRenderer2D);
//To set 3D tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRenderer3D);
//Work book mode
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererWorkbookMode);
//To set OneNote tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.OneNoteStyleRenderer);
//To set OneNote Flat tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.OneNoteStyleFlatTabsRenderer);
//To set Office 2003 tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2003);
//To set Whidbey tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererWhidbey);
//To set Docking Whidbey tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererDockingWhidbey);
//To set Docking Whidbey beta tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererDockingWhidbeyBeta);
//To set IE7 tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererIE7);
//To set Office 2007 tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2007);
//To set Blend light tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererBlendLight);
//To set Blend dark tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererBlendDark);
//To set VS 2008 tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererVS2008);
//To set VS 2010 tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererVS2010);
//To set Office 2010 tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2010);
//To set Docking VS 2012 tab style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererDockingVS2012);
//To set Metro style
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererMetro);       

VB

'To set 2D tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRenderer2D)
'To set 3D tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRenderer3D)
'Work book mode
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererWorkbookMode)
'To set OneNote tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.OneNoteStyleRenderer)
'To set OneNote Flat tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.OneNoteStyleFlatTabsRenderer)
'To set Office 2003 tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererOffice2003)
'To set Whidbey tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererWhidbey)
'To set Docking Whidbey tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererDockingWhidbey)
'To set Docking Whidbey beta tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererDockingWhidbeyBeta)
'To set IE7 tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererIE7)
'To set Office 2007 tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererOffice2007)
'To set Blend light tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererBlendLight)
'To set Blend dark tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererBlendDark)
'To set VS 2008 tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererVS2008)
'To set VS 2010 tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererVS2010)
'To set Office 2010 tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererOffice2010)
'To set Docking VS 2012 tab style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererDockingVS2012)
'To set Metro style
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererMetro)

The following screenshot illustrates the output.

Show the different tab style applied in TabbedMDIManager

Figure 1: Tab Style changed

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/TabbedMDIManager_Style-174095368.zip

Reference link: https://help.syncfusion.com/windowsforms/tabbedmdi/styles-settings

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon