Interface IRadScrollViewport
This interface defines all necessary methods for custom scrolling. Performing each
scroll operation via the method Do
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public interface IRadScrollViewport
Methods
DoScroll(Point, Point)
Declaration
void DoScroll(Point oldValue, Point newValue)
Parameters
System.
|
System.
|
GetExtentSize()
Gets the real size of the content that the viewport must visualize.
Declaration
Size GetExtentSize()
Returns
System.
|
GetScrollParams(Size, Size)
Retrieves the scroll parameters.
Declaration
ScrollPanelParameters GetScrollParams(Size viewportSize, Size extentSize)
Parameters
System.
|
System.
|
Returns
InvalidateViewport()
Invalidates the viewport.
Declaration
void InvalidateViewport()
ResetValue(Point, Size, Size)
Calculate scroll value. This method is used while resizing the scroll panel.
Declaration
Point ResetValue(Point currentValue, Size viewportSize, Size extentSize)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
ScrollOffsetForChildVisible(RadElement, Point)
Calculates the necessary offset in order to make the given child visible.
Declaration
Size ScrollOffsetForChildVisible(RadElement childElement, Point currentScrollValue)
Parameters
Rad
|
System.
|
Returns
System.
|