)
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 enable Metro style scroll bar in WinForms TabbedMDIManager?

Platform: WinForms |
Control: TabbedMDIManager |
Published Date: January 28, 2016 |
Last Revised Date: January 29, 2020

Enable metro style scrollbar

In TabbedMDIManager, Metro style scroll bar can be added by following below steps.

  • Need to enable “AutoScroll” property in child Form.
  • Need to load ScrollersFrame and attach it child form by using its property named “AttachedTo”. 
  • Need to set its Visual style as “Metro”.

C#

//To attach TabbedMDIManager in form
this.tabbedMDIManager1.AttachedTo = this;
 
//To enable the Scrollbar in the form
this.AutoScroll = true;
//To add the ScrollerFrame in form
this.scrollersFrame1.AttachedTo = this;
//To specify the visual style of the ScrollerFrame.
this.scrollersFrame1.VisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;

 

VB

'To attach TabbedMDIManager in form
Me.tabbedMDIManager1.AttachedTo = Me
 
'To enable the Scrollbar in the form
Me.AutoScroll = True
'To add the ScrollerFrame in form
Me.scrollersFrame1.AttachedTo = Me
'To specify the visual style of the ScrollerFrame.
Me.scrollersFrame1.VisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro

Screenshot

Show multiple lines used in list item

Figure 1. Multiple lines used in List item.

Samples:

C#: TabbedMDI_ScrollBar_C#

VB: TabbedMDI_ScrollBar_VB

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