This project is read-only.

Mode Property
  • Mode.Drag: If the mouse is dragged near the edge of the ScrollViewer, the ScrollViewer will scroll in the direction of that edge. It will stop scrolling when the mouse is moved away, or the mouse button is released. This is useful for drag and drop interfaces inside a ScrollViewer.
  • Mode.Auto: If the mouse is near the edge of the ScrollViewer, the ScrollViewer will scroll in the direction of that edge. It will stop scrolling when the mouse is moved away.
  • Mode.Off: No auto scrolling is applied.

ScrollLeft, ScrollUp, SrollRight, ScrollDown Properties
  • (Boolean) Scroll in the appropriate direction.

ScrollArea Property
  • Defines the width (in pixels) of the zone at the edge of the ScrollViewer that will trigger automatic scrolling. Default is 40.

ScrollPixelsPerTick Property
  • The number of pixels scrolled per 100 milliseconds.

TargetCanvas Property
  • This is the canvas which drag-and-drop objects are located on. If it is not specified it defaults to the ScrollViewer content (if a Canvas).

ClearControl() Method
  • Clears references in the control to make it available for garbage collection.
The targetted ScrollViewer is set via a constructor parameter, and cannot be changed, except via the ClearControl() method.

Last edited Jun 5, 2011 at 2:30 PM by peterdongan, version 1

Comments

No comments yet.