Namespace TallComponents
Class ScrollInfo
Boilerplate base class for control that has a scrollable canvas.
Syntax
public class ScrollInfo : UserControl,IScrollInfo
Constructors
Properties
Boolean CanHorizontallyScroll
Boolean CanVerticallyScroll
Double CanvasHeight
Double CanvasWidth
Double ExtentHeight
The height of the Canvas in Document space.
Double ExtentWidth
The Width of the Canvas in Document space.
Double HorizontalOffset
The offset of the horizontal scrollbar in Document space.
Boolean HorizontalScrollBarVisible
PagesViewer ParentControl
ScrollViewer ScrollOwner
Double VerticalOffset
The offset of the verical scrollbar in Document space.
Boolean VerticalScrollBarVisible
Double ViewportHeight
The Height of the Viewport in Document space.
Double ViewportLeft
Double ViewportTop
Double ViewportWidth
The Width of the Viewport in Document space.
Methods
Void AfterSizeChanged()
Void ControlLoaded()
Double DocumentToViewerSpace(Double)
Converts size from Document to Viewer space.
Void Finalize()
Double GetViewportHeight(Boolean)
Calculates the height of the Viewport in Document space with or without the horizontal scrollbar.
SKSurface GetViewportSurface(Double&)
Double GetViewportWidth(Boolean)
Calculates the width of the Viewport in Document space with or without the vertical scrollbar.
Double GetZoomFactor()
Void Initialize()
Void InvalidateScrollInfo()
Void LineDown()
Void LineLeft()
Void LineRight()
Void LineUp()
Rect MakeVisible(Visual,Rect)
Void MouseWheelDown()
Void MouseWheelLeft()
Void MouseWheelRight()
Void MouseWheelUp()
Void OnKeyButtonDown(KeyEventArgs)
Void OnRender(DrawingContext)
Void PageDown()
Void PageLeft()
Void PageRight()
Void PageUp()
Void RenderingSurface(SKSurface)
Void SetHorizontalOffset(Double)
Set the new offset of the horizontal scrollbar.
Void SetVerticalOffset(Double)
Set the new offset of the vertical scrollbar.
Double ViewerToDocumentSpace(Double)
Converts size from Viewer to Document space.