Articles in this section
Category / Section

How to switch between TabStyle in WinForms TabbedMDIManager?

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: https://www.syncfusion.com/downloads/support/directtrac/general/TabbedMDIManager_Style-174095368.zip

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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied