New to Telerik UI for WinFormsStart a free 30-day trial

Properties

Updated over 6 months ago

RadHScrollBar and RadVScrollBar share the same properties. The only difference between the two is that the former is displayed horizontally while the latter is displayed vertically.

PropertyDescription
ScrollBarElementGets the instance of RadScrollBarElement wrapped by this control. RadScrollBarElement is the main element in the hierarchy tree and encapsulates the actual functionality of both RadHScrollBar and RadVScrollBar.
ThumbLengthProportionGets or sets a value between 0.0 and 1.0 that indicates what part of the scrollable area can be occupied by the thumb. If the value is 0.0 then the thumb should be with length 0 but the property MinThumbLength will cause the thumb to be larger. If the value is 1.0 the the thumb takes the whole area between the two scrolling buttons. Negative value means that the thumb length should be calculated automatically based on Minimum, Maximum and LargeChange values.
MinThumbLengthGets or sets the minimum length of the scrolling thumb.
ThumbLengthGets the length of the scrolling thumb. Thumb length is the thumb's height for vertical scroll bar and the thumb's width for horizontal scroll bar.
MinimumGets or sets the lower limit for the values of the scrollable range.
MaximumGets or sets the upper limit of the scrollable range.
ValueGets or sets a numeric value that represents the current position of the scroll thumb on the scroll bar.
SmallChangeGets or sets the value to be added to or subtracted from the Value property when the scroll thumb is moved a small distance.
LargeChangeGets or sets a value to be added to or subtracted from the Value property when the scroll thumb is moved a large distance.
ScrollTypeGets or sets the scroll type - it could be horizontal or vertical.

Don't forget to set the Maximum property to reflect the maximum possible offset upon scrolling. The size of the scrollable height equals the total height of the scrollable content minus the visible height .

Methods

MethodDescription
PerformSmallDecrementDecrements the thumb position by the number of small steps given as a parameter. The distance of a small step is determined by the SmallChange property.
PerformSmallIncrementIncrements the thumb position by the number of small steps given as a parameter. The distance of a small step is determined by the SmallChange property.
PerformLargeDecrementDecrements the thumb position by the number of large steps given as a parameter. The distance of a large step is determined by the LargeChange property.
PerformLargeIncrementIncrements the thumb position by the number of large steps given as a parameter. The distance of a large step is determined by the LargeChange property.
PerformFirstScrolls to the first position specified by the Minimum property.
PerformLastScrolls to the last position specified by the Maximum property.
PerformScrollToScrolls to the specified position.

Events

EventDescription
ScrollFires when the track scroll bar changes.
ValueChangedOccurs when the value (i.e. the scroll thumb position) changes.
ScrollParameterChangedOccurs when a scrolling parameter value changes (Maximum, Minimum, LargeChange and SmallChange).

See Also

In this article
See Also
Not finding the help you need?
Contact Support