Articles in this section
Category / Section

How to apply Office2007 VisualStyle to WinForms TabbedMDIManager?

2 mins read

Visual style

In TabbedMDIManager, it possible to apply the Office2007 style to it and it can be achieved using the property named VisualStyle. The following code example demonstrates the same.

C#

//Set the Office2007 style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2007);
 
//Set the 2D style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRenderer2D); 
 
//Set the 3D style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRenderer3D); 
 
//Set the Workbook node style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle =typeof(Syncfusion.Windows.Forms.Tools.TabRendererWorkbookMode); 
 
//Set the OneNote style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.OneNoteStyleRenderer); 
 
//Set the OneNote flat tab style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle =typeof(Syncfusion.Windows.Forms.Tools.OneNoteStyleFlatTabsRenderer); 
 
//Set the Office2003 style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererOffice2003); 
 
//Set the Whidbey style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererWhidbey); 
 
//Set the DockingWhidbey style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle =typeof(Syncfusion.Windows.Forms.Tools.TabRendererDockingWhidbey); 
 
//Set the DockingWhidbeyBeta style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle =typeof(Syncfusion.Windows.Forms.Tools.TabRendererDockingWhidbeyBeta); 
 
//Set the IE7 style for the TabbedMDIManger child 
this.tabbedMDIManager1.TabStyle = typeof(Syncfusion.Windows.Forms.Tools.TabRendererIE7); 
 

VB

'Set the Office2007 style for the TabbedMDIManger child
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererOffice2007)
 
'Set the 2D style for the TabbedMDIManger child 
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRenderer2D)
 
'Set the 3D style for the TabbedMDIManger child 
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRenderer3D)
 
'Set the Workbook node style for the TabbedMDIManger child 
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererWorkbookMode)
 
'Set the OneNote style for the TabbedMDIManger child 
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.OneNoteStyleRenderer)
 
'Set the OneNote flat tab style for the TabbedMDIManger child 
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.OneNoteStyleFlatTabsRenderer)
 
'Set the Office2003 style for the TabbedMDIManger child 
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererOffice2003)
 
'Set the Whidbey style for the TabbedMDIManger child 
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererWhidbey)
 
'Set the DockingWhidbey style for the TabbedMDIManger child 
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererDockingWhidbey)
 
'Set the DockingWhidbeyBeta style for the TabbedMDIManger child 
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererDockingWhidbeyBeta)
 
'Set the IE7 style for the TabbedMDIManger child 
Me.tabbedMDIManager1.TabStyle = GetType(Syncfusion.Windows.Forms.Tools.TabRendererIE7)
 

 

TabbedMDIManager loaded with Office2007 style with image

Figure 1.  TabbedMDIManager loaded with Office2007 Style with image

Samples:

C#: How to apply Office2007 VisualStyle to TabbedMDIManager?

VB: How to apply Office2007 VisualStyle to TabbedMDIManager?

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)
Please sign in to leave a comment
Access denied
Access denied