ClassRadScrollBar
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
RadScrollBar()
Declaration
public RadScrollBar()
Properties
ScrollBarElement
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.
Declaration
[Browsable(false)]
public RadScrollBarElement ScrollBarElement { get; }
Property Value
ScrollType
Declaration
public virtual ScrollType ScrollType { get; set; }
Property Value
ThemeClassName
Gets the theme class name for this control.
Declaration
public override string ThemeClassName { get; }
Property Value
Overrides
ThumbLengthProportion
Declaration
public double ThumbLengthProportion { get; set; }
Property Value
Methods
ControlDefinesThemeForElement(RadElement)
Checks whether the element's theme is defined by the control.
Declaration
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters
element
The element to should be checked.
Returns
true if the control defines theme for this element, false otherwise.
Overrides
Remarks
If true is returned the ThemeResolutionService would not not set any theme to the element to avoid duplicating the style settings of the element.
CreateAccessibilityInstance()
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
Overrides
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
parent
Overrides
CreateRootElement()
Declaration
protected override RootRadElement CreateRootElement()
Returns
Overrides
CreateScrollBarElement()
Declaration
protected virtual RadScrollBarElement CreateScrollBarElement()
Returns
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
Overrides
OnScrollParameterChanged(EventArgs)
Declaration
protected virtual void OnScrollParameterChanged(EventArgs args)
Parameters
args
OnValueChanged(EventArgs)
Declaration
protected virtual void OnValueChanged(EventArgs e)
Parameters
e
PerformFirst()
Scrolls to the first position specified by the Minimum property.
Declaration
public void PerformFirst()
PerformLargeDecrement(int)
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.
Declaration
public void PerformLargeDecrement(int numSteps)
Parameters
numSteps
PerformLargeIncrement(int)
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.
Declaration
public void PerformLargeIncrement(int numSteps)
Parameters
numSteps
PerformLast()
Scrolls to the last position specified by the Maximum property.
Declaration
public void PerformLast()
PerformScrollTo(Point)
Scrolls to the specified position.
PerformSmallDecrement(int)
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.
Declaration
public void PerformSmallDecrement(int numSteps)
Parameters
numSteps
PerformSmallIncrement(int)
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.
Declaration
public void PerformSmallIncrement(int numSteps)
Parameters
numSteps
Events
ScrollParameterChanged
Declaration
public event EventHandler ScrollParameterChanged
Event Value