New to Telerik UI for WinForms? Start a free 30-day trial

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:

C#
public class ScrollServiceBehavior

Inheritance: objectScrollServiceBehavior

Constructors

Creates a behavior with no registered scrolling services.

C#
public ScrollServiceBehavior()

Properties

Gets whether any registered service is currently scrolling.

C#
public bool IsRunning { get; }

Gets the mutable list of services that receive pointer input.

C#
public List<ScrollService> ScrollServices { get; }

Methods

Adds a service to the set that receives pointer input.

C#
public void Add(ScrollService scrollService)
Parameters:scrollServiceScrollService

The service to register.

Notifies registered services whose owners are loaded that a pointer press has started.

C#
public void MouseDown(Point location)
Parameters:locationPoint

The pointer location forwarded to each service.

Forwards pointer movement to registered services whose owners are loaded.

C#
public void MouseMove(Point location)
Parameters:locationPoint

The current pointer location forwarded to each service.

Notifies registered services whose owners are loaded that a pointer has been released.

C#
public void MouseUp(Point location)
Parameters:locationPoint

The release location forwarded to each service.

Stops every registered scrolling service.

C#
public void Stop()