Class RadScrollViewer
The only implementation of IScroll
This class contains one element called Viewport. In addition to the ordinary property Size, Viewport has parameter called "extent size" which represents the real size of its content. Extent size could be bigger as well as smaller than the size of the scroll viewer.
There are two types of viewports: ordinary elements and elements that implement
IRad
If the viewport implementation is of type IRad
Physical scrolling has one parameter that can be set -
Pixels
For more information about custom viewports and logical scrolling - see
IRad
Current scroll position can be get or set via the property
Value. In addition scrolling can be performed by calling the
methods that are implemented from IScroll
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadScrollViewer : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IScrollViewer
Constructors
RadScrollViewer()
Declaration
public RadScrollViewer()
RadScrollViewer(RadElement)
Properties
CanHorizontalScroll
Declaration
public bool CanHorizontalScroll { get; }
Property Value
System.
|
CanVerticalScroll
Declaration
public bool CanVerticalScroll { get; }
Property Value
System.
|
FillElement
ForceViewportHeight
Declaration
public bool ForceViewportHeight { get; set; }
Property Value
System.
|
ForceViewportWidth
Declaration
public bool ForceViewportWidth { get; set; }
Property Value
System.
|
HorizontalScrollBar
Declaration
public RadScrollBarElement HorizontalScrollBar { get; }
Property Value
HorizontalScrollState
Declaration
[RadDescription("HorizontalScrollState", typeof(RadScrollLayoutPanel))]
[RadDefaultValue("HorizontalScrollState", typeof(RadScrollLayoutPanel))]
public ScrollState HorizontalScrollState { get; set; }
Property Value
MaxValue
Declaration
[RadDescription("MaxValue", typeof(RadScrollLayoutPanel))]
[RadDefaultValue("MaxValue", typeof(RadScrollLayoutPanel))]
public Point MaxValue { get; }
Property Value
System.
|
MinValue
Declaration
[RadDescription("MinValue", typeof(RadScrollLayoutPanel))]
[RadDefaultValue("MinValue", typeof(RadScrollLayoutPanel))]
public Point MinValue { get; }
Property Value
System.
|
PixelsPerLineScroll
Declaration
[RadDescription("PixelsPerLineScroll", typeof(RadScrollLayoutPanel))]
[RadDefaultValue("PixelsPerLineScroll", typeof(RadScrollLayoutPanel))]
public Point PixelsPerLineScroll { get; set; }
Property Value
System.
|
ScrollLayoutPanel
Declaration
public RadScrollLayoutPanel ScrollLayoutPanel { get; }
Property Value
ScrollThickness
Declaration
[RadDescription("ScrollThickness", typeof(RadScrollLayoutPanel))]
[RadDefaultValue("ScrollThickness", typeof(RadScrollLayoutPanel))]
public int ScrollThickness { get; set; }
Property Value
System.
|
ShowBorder
Gets or sets a value indicating whether the border is shown.
Declaration
public bool ShowBorder { get; set; }
Property Value
System.
|
ShowFill
Gets or sets a value indicating whether the fill is shown.
Declaration
public bool ShowFill { get; set; }
Property Value
System.
|
UsePhysicalScrolling
Declaration
[RadDescription("UsePhysicalScrolling", typeof(RadScrollLayoutPanel))]
[RadDefaultValue("UsePhysicalScrolling", typeof(RadScrollLayoutPanel))]
public bool UsePhysicalScrolling { get; set; }
Property Value
System.
|
Value
Declaration
[RadDescription("Value", typeof(RadScrollLayoutPanel))]
[RadDefaultValue("Value", typeof(RadScrollLayoutPanel))]
public Point Value { get; set; }
Property Value
System.
|
VerticalScrollBar
Declaration
public RadScrollBarElement VerticalScrollBar { get; }
Property Value
VerticalScrollState
Declaration
[RadDescription("VerticalScrollState", typeof(RadScrollLayoutPanel))]
[RadDefaultValue("VerticalScrollState", typeof(RadScrollLayoutPanel))]
public ScrollState VerticalScrollState { get; set; }
Property Value
Viewport
Virtualized
Declaration
public virtual bool Virtualized { get; set; }
Property Value
System.
|
Implements
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateScrollLayoutPanel()
Declaration
protected virtual RadScrollLayoutPanel CreateScrollLayoutPanel()
Returns
InitializeFields()
LineDown()
LineLeft()
LineRight()
LineUp()
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnScroll(ScrollPanelEventArgs)
Declaration
protected virtual void OnScroll(ScrollPanelEventArgs args)
Parameters
Scroll
|
OnScrollNeedsChanged(ScrollNeedsEventArgs)
Declaration
protected virtual void OnScrollNeedsChanged(ScrollNeedsEventArgs args)
Parameters
Scroll
|
OnScrollParametersChanged(RadPanelScrollParametersEventArgs)
Declaration
protected virtual void OnScrollParametersChanged(RadPanelScrollParametersEventArgs args)
Parameters
PageDown()
PageLeft()
PageRight()
PageUp()
ScrollElementIntoView(RadElement)
Declaration
public void ScrollElementIntoView(RadElement element)
Parameters
Rad
|
Implements
ScrollToBottom()
ScrollToEnd()
ScrollToHome()
ScrollToLeftEnd()
ScrollToRightEnd()
ScrollToTop()
Events
Scroll
ScrollNeedsChanged
ScrollParametersChanged
Declaration
public event RadPanelScrollParametersHandler ScrollParametersChanged