ScrollBar - SirePi/duality-ui GitHub Wiki

HorizontalScrollBar and VerticalScrollBar derive from the common ScrollBar base class, and are virtually identical, except for the way the ScrollBar itself is built (horizontally in one case, vertically in the other). Derives from CompositeControl.

In addition to the CompositeControl's base properties and delegates, it also exposes:

  • Property MaxValue - the maximum value that the ScrollBar can assume (defaults to 100).
  • Property MinValue - the minimum value that the ScrollBar can assume (defaults to 0).
  • Property Value - the current value of the ScrollBar.
  • Property ScrollBarConfiguration - the ScrollBar's ScrollBarConfiguration object.
  • Event OnValueChange(ScrollBar scrollBar, int oldValue, int newValue) - an event that gets fired whenever the ScrollBar's Value changes.