Articles in this section
Category / Section

How to enable Metro style scroll bar in WinForms TabbedMDIManager?

1 min read

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

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