RadScrollBar
Implements the basic functionality for the scrolling.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[ComVisible(true)]
public class RadScrollBar : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadScrollBar...
Derived Classes:
Implements:
Inherited Members
Constructors
public RadScrollBar()
Properties
public int LargeChange { get; set; }
public int MinThumbLength { get; set; }
Gets 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.
[Browsable(false)]
public RadScrollBarElement ScrollBarElement { get; }
public virtual ScrollType ScrollType { get; set; }
public int SmallChange { get; set; }
Gets the theme class name for this control.
public override string ThemeClassName { get; }
Overrides:
public int ThumbLength { get; }
public double ThumbLengthProportion { get; set; }
Methods
Checks whether the element's theme is defined by the control.
public override bool ControlDefinesThemeForElement(RadElement element)
The element to should be checked.
Returns:true if the control defines theme for this element, false otherwise.
Overrides:
If true is returned the ThemeResolutionService would not not set any theme to the element to avoid duplicating the style settings of the element.
protected override AccessibleObject CreateAccessibilityInstance()
Overrides:
protected override void CreateChildItems(RadElement parent)
Overrides:
Scrolls to the first position specified by the Minimum property.
public void PerformFirst()
Decrements 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.
Increments 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.
Scrolls to the last position specified by the Maximum property.
public void PerformLast()
Scrolls to the specified position.
Decrements 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.
Increments 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.
Events
public event EventHandler ScrollParameterChanged
public event EventHandler ValueChanged