Dispatches pointer input to a collection of scrolling services and reports whether any service is active.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ScrollServiceBehavior
Inheritance: objectScrollServiceBehavior
Constructors
Creates a behavior with no registered scrolling services.
public ScrollServiceBehavior()
Properties
Gets whether any registered service is currently scrolling.
public bool IsRunning { get; }
Gets the mutable list of services that receive pointer input.
public List<ScrollService> ScrollServices { get; }
Methods
Adds a service to the set that receives pointer input.
public void Add(ScrollService scrollService)
The service to register.
Notifies registered services whose owners are loaded that a pointer press has started.
public void MouseDown(Point location)
The pointer location forwarded to each service.
Forwards pointer movement to registered services whose owners are loaded.
public void MouseMove(Point location)
The current pointer location forwarded to each service.
Notifies registered services whose owners are loaded that a pointer has been released.
public void MouseUp(Point location)
The release location forwarded to each service.
Stops every registered scrolling service.
public void Stop()