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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to apply WinForms ScrollerFrame to UserControl?

Platform: WinForms |
Control: ScrollersFrame

Apply ScrollersFrame to UserControl

The ScrollersFrame can be attached to UserControl by using its AttachFrame function. The ScrollersFrame is assigned to all the controls by using its AttachedTo property.


//Enables the AutoScroll property to assign the ScrollesFrame
this.gradientPanel1.AutoScroll = true;
//Attaches the ScrollerFrame to GradientPanel  
this.scrollersFrame1.AttachedTo = gradientPanel1;
//This function is used to assign the ScrollersFrame to windows form control
//Sets ScrollerFrame visualstyle
this.scrollersFrame1.VisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Office2010;


'Enables the AutoScroll property to assign the ScrollesFrame
Me.gradientPanel1.AutoScroll = True
'Attaches the ScrollerFrame to GradientPanel  
Me.scrollersFrame1.AttachedTo = gradientPanel1
'This function is used to assign the ScrollersFrame to windows form control
'Sets ScrollerFrame visualstyle
Me.scrollersFrame1.VisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Office2010



The previously attached control is released by using the function named “AttachFrame”.


Show the ScrollersFrame attached to GradientPanel

Figure 1: ScrollersFrame is attached to Gradient panel


C#: http://www.syncfusion.com/downloads/support/directtrac/135929/ScrollersFrame1918526364.zip

VB: http://www.syncfusion.com/downloads/support/directtrac/135701/ScrollersFrame_VB862974338.zip

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
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