Class RadScrollBar
Implements the basic functionality for the scrolling.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[ComVisible(true)]
public class RadScrollBar : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Remarks
This class can be used both for horizontal and for vertical scrolling through its
property Scroll
To adjust the value range of the scroll bar control set the
Minimum and
Maximum properties. To adjust the
distance the scroll thumb moves, set the Small
Constructors
RadScrollBar()
Declaration
public RadScrollBar()
Properties
AutoSize
Gets or sets whether the edit control is auto-sized
Declaration
public override bool AutoSize { get; set; }
Property Value
System.
|
Overrides
BackColor
RadScrollBar consists of multiple visual elements and separate settings are provided to customize their appearance. Current BackColor property might be ignored.
Declaration
public override Color BackColor { get; set; }
Property Value
System.
|
Overrides
ForeColor
RadScrollBar consists of multiple visual elements and separate settings are provided to customize their appearance. Current ForeColor property might be ignored.
Declaration
public override Color ForeColor { get; set; }
Property Value
System.
|
Overrides
LargeChange
Declaration
[RadDefaultValue("LargeChange", typeof(RadScrollBarElement))]
[RadDescription("LargeChange", typeof(RadScrollBarElement))]
public int LargeChange { get; set; }
Property Value
System.
|
Maximum
Declaration
[RadDefaultValue("Maximum", typeof(RadScrollBarElement))]
[RadDescription("Maximum", typeof(RadScrollBarElement))]
public int Maximum { get; set; }
Property Value
System.
|
Minimum
Declaration
[RadDefaultValue("Minimum", typeof(RadScrollBarElement))]
[RadDescription("Minimum", typeof(RadScrollBarElement))]
public int Minimum { get; set; }
Property Value
System.
|
MinThumbLength
Declaration
[RadDefaultValue("MinThumbLength", typeof(RadScrollBarElement))]
[RadDescription("MinThumbLength", typeof(RadScrollBarElement))]
public int MinThumbLength { get; set; }
Property Value
System.
|
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
public RadScrollBarElement ScrollBarElement { get; }
Property Value
ScrollType
Declaration
[RadDefaultValue("ScrollType", typeof(RadScrollBarElement))]
[RadDescription("ScrollType", typeof(RadScrollBarElement))]
public virtual ScrollType ScrollType { get; set; }
Property Value
SmallChange
Declaration
[RadDefaultValue("SmallChange", typeof(RadScrollBarElement))]
[RadDescription("SmallChange", typeof(RadScrollBarElement))]
public int SmallChange { get; set; }
Property Value
System.
|
Text
This property is not relevant for this class.
Declaration
public override string Text { get; set; }
Property Value
System.
|
Overrides
ThemeClassName
Declaration
public override string ThemeClassName { get; }
Property Value
System.
|
Overrides
ThumbLength
Declaration
[RadDescription("ThumbLength", typeof(RadScrollBarElement))]
public int ThumbLength { get; }
Property Value
System.
|
ThumbLengthProportion
Declaration
[RadDefaultValue("ThumbLengthProportion", typeof(RadScrollBarElement))]
[RadDescription("ThumbLengthProportion", typeof(RadScrollBarElement))]
public double ThumbLengthProportion { get; set; }
Property Value
System.
|
Value
Declaration
[RadDefaultValue("Value", typeof(RadScrollBarElement))]
[RadDescription("Value", typeof(RadScrollBarElement))]
public int Value { get; set; }
Property Value
System.
|
Methods
ControlDefinesThemeForElement(RadElement)
Declaration
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters
Rad
|
Returns
System.
|
Overrides
CreateAccessibilityInstance()
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
System.
|
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
Rad
|
Overrides
CreateRootElement()
Declaration
protected override RootRadElement CreateRootElement()
Returns
Overrides
CreateScrollBarElement()
Declaration
protected virtual RadScrollBarElement CreateScrollBarElement()
Returns
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.
|
Overrides
OnScrollParameterChanged(EventArgs)
Declaration
protected virtual void OnScrollParameterChanged(EventArgs args)
Parameters
System.
|
OnValueChanged(EventArgs)
Declaration
protected virtual void OnValueChanged(EventArgs e)
Parameters
System.
|
PerformFirst()
Scrolls to the first position specified by the Minimum property.
Declaration
public void PerformFirst()
PerformLargeDecrement(Int32)
Decrements the thumb position by the number of large steps given as a parameter.
The distance of a large step is determined by the
Large
Declaration
public void PerformLargeDecrement(int numSteps)
Parameters
System.
|
PerformLargeIncrement(Int32)
Increments the thumb position by the number of large steps given as a parameter.
The distance of a large step is determined by the
Large
Declaration
public void PerformLargeIncrement(int numSteps)
Parameters
System.
|
PerformLast()
Scrolls to the last position specified by the Maximum property.
Declaration
public void PerformLast()
PerformScrollTo(Point)
Scrolls to the specified position.
Declaration
public void PerformScrollTo(Point position)
Parameters
System.
|
PerformSmallDecrement(Int32)
Decrements the thumb position by the number of small steps given as a parameter.
The distance of a small step is determined by the
Small
Declaration
public void PerformSmallDecrement(int numSteps)
Parameters
System.
|
PerformSmallIncrement(Int32)
Increments the thumb position by the number of small steps given as a parameter.
The distance of a small step is determined by the
Small
Declaration
public void PerformSmallIncrement(int numSteps)
Parameters
System.
|
Events
ScrollParameterChanged
Declaration
[RadDescription("ScrollParameterChanged", typeof(RadScrollBarElement))]
public event EventHandler ScrollParameterChanged
Event Type
System.
|
ValueChanged
Declaration
[RadDescription("ValueChanged", typeof(RadScrollBarElement))]
public event EventHandler ValueChanged
Event Type
System.
|