ScrollBars .NET

for  WinForms
  • Instant replacement for the standard Vertical and Horizontal Scrollbars for WinForms
  • Ready to use, right out-of-the-box
  • Rich design-time features
  • Easy to customize the control (including colors, Images & margins)





BinaryScrollBars .NET is a suite of fully customizable custom written ScrollBars controls for WinForms.

The package contains both Vertical and Horizontal scrollbar controls.


ScrollBar Control Features




1. Instant replacement for the standard ScrollBar controls


This control instantly replaces the standard .NET WinForms VScrollBar and HScrollBar Controls.

It raises all the very same event types (and even more than) that the stock scrollbar controls raise.


Unlike the stock .NET ScrollBar controls, our custom Scroll bar controls allows you to custom configure all drawing / rendering aspects of the visual/control.


You can either choose to simply set the appropriate color properties and set images to render in the scroll bar, or alternatively even take full control of drawing the core aspects of the control your self by plugging in your custom implementation of our renderer interfaces (more details elsewhere in this page).

2. Orientation


The controls suite supports both orientations - Horizontal and Vertical.




3. Full Customization of look-and-feel


Simple properties allows:


  • customizing the colors of every single aspect of the rendered artifacts viz., Thumb, Track and Scroll Arrow buttons
  • customization of colors for rendering various states like Hot, Pressed, Normal and Disabled




4. Supports setting custom size



The controls support setting up custom Width and Height, for the Vertical and Horizontal mode controls respectively.

You can also specify the exact desired size (and color) for the arrow glyph (when using the default/built-in navigation buttons mode).

5. Supports using Images


The controls, by default, renders various parts of its UI with the built-in custom drawing.

Apart from that, the controls also support using custom Images.


You could set the various parts such as the Thumb (scroll box), the Gripper, and Arrow scroll buttons to be rendered using your custom images.

6. Supports Built-in (default) Scrollbar ContextMenu


The controls, by default, provides a built-in context-menu that enables ready-to-execute commands for scrolling.

The built-in scroll commands context menu can be set to display in two modes:


  • Using standard ContextMenu component (figure 1)
  • Using Binarymission extended WinForms Menu component (figure 2)


But of course, you can switch-off the provided default context menu, and provide your own as well.



Figure 1
Figure 2


7. Custom pluggable Renderers


You could use the simple-to-use properties (as detailed earlier) to set up all the colors size, etc, or alternatively, take control of drawing the various parts of the our custom scroll bar control easily, by plugging-in your own custom renderers.


The control exposes the following renderer interfaces properties that allow you set up custom renderer objects that can own drawing various parts of the control.


  • IScrollBarNavigationButtonRenderer
  • IScrollBarThumbRenderer
  • IScrollBarThumbGripperRenderer
  • IScrollBarTrackRenderer


These pluggable interfaces have just one Draw(...) method which the control will call at appropriate time of drawing those specific scrollbar parts, and supply it with the necessary information - i.e the drawing graphics object instance, the drawing area rectangle, the parts' visual state (i.e. whether they are in hot, pressed, normal or disabled mode at the time of drawing), so your custom implementation can handle the drawing accordingly.




8. More (related) .NET Controls In The Package



To make instant use of our custom WinForms ScrollBar control, the package contains some useful container controls that comes built-in with the Binarymission custom Scrollbar controls as their scroll bar, so you do not have to write or wire up any event/code.


These controls cover most of the use-cases of scrollbar usage as you will find below.






9. Pre-defined Themes


The controls come pre-packaged with ready-to-use themes / colors. The following pre-built color themes are available to choose from:


  • Win 8
  • GradientBrown
  • Olive
  • OfficeBlack
  • OfficeBlue
  • OfficeSilver
  • CyanGreen
  • OrangeRed



Apart from these, there is also a Custom theme mode, which allows you set various properties to render a custom color theme of your needs.





10. Rich Design-time


The controls come with rich design-time features.


You could drag/drop the controls into your Visual Studio Toolbox, and drag them on to your Form surface, and set all properties and configure the control for use, without ever writing a single line of code.


You could also run a "live view" of all user-experience effects, like scrolling, clicking the arrow buttons, moving the scroll box/thumb, all this from the Visual Studio Form design surface itself, so you can see the run-time effects without even running your application.

Where Can You Use Our Custom ScrollBar control?



You will be able to use this wherever you would normally use the HScrollBar and VScrollBar classes, and use to implement scrolling in containers that do not provide their own scroll bars (or even if they provide their own, you could switch them off and add this control and wire up the scrolling using the control’s properties such as LargeChange, SmallChange, Minimum, Maximum, Position, etc.).


Image Gallery