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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to specify the custom renderer for the ScrollersFrame?

Platform: WinForms |
Control: ScrollersFrame |
Published Date: October 14, 2015 |
Last Revised Date: October 14, 2015

You can customize the appearance of the ScrollersFrame by using the CustomRender property. To create the CustomRenderer class, you need to inherit the Syncfusion.Windows.Forms.Renderers.IRenderer interface. The IRenderer interface implements the following functions in the CustomRenderer class.

  1. DrawBackground.
  2. DrawArrowButton.
  3. DrawThumb.


DrawBackground: Customizes the appearance of the ScrollersFrame.

DrawArrowButton: Draws the Arrow button used in the ScrollersFrame.

DrawThumb: Draws the thumb track used in the ScrollersFrame.


The following code example demonstrates the same.





Figure 1: Before passing the Custom Renderer to the ScrollersFrame

Figure 2: After passing the Custom Renderer to the ScrollersFrame

Sample Links:

C#: ScrollersFrame_CustomRender_C#

VB: ScrollersFrame_CustomRender_VB               

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.

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