)
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 apply Office2007 VisualStyle to WinForms TabbedMDIManager?

Platform: WinForms |
Control: TabbedMDIManager |
Published Date: August 14, 2017 |
Last Revised Date: January 29, 2020

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

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