TouchScrollSettings Class

Represents the settings for Touch & Scroll functionality.

Definition

Namespace: BeeMobile.iWheel
Assembly: BeeMobile.iWheel.NET48 (in BeeMobile.iWheel.NET48.dll) Version: 4.8.4.3
C#
public class TouchScrollSettings
Inheritance
Object    TouchScrollSettings

Remarks

The Touch & Scroll functionality means that the user can scroll the Cylinder up or down by clicking and holding a mouse button at the topmost or at the lowest visible item displayed by the Cylinder to make it scroll upwards or downwards. The scrolling is continuos as long as the user holds the mouse button pressed. This type of scrolling may be beneficial on certain display types (particularly resistive displays) on which sliding a finger across a Cylinder is not comfortable.

By default the Touch & Scroll functionality is disabled. To use it, set the TouchAndScrollEnabled property to true.

Constructors

TouchScrollSettings Initializes a new instance of TouchScrollSettings class.

Properties

AutoScrollTime Gets or sets a value in milliseconds that have to elapse since Touch & Scroll functionality has been started to perform automatic scrolling of the Cylinder when the user stops Touch & Scroll.
BreakingCoefficient1 Gets or sets a coefficient 1 for breaking formula.
BreakingCoefficient2 Gets or sets a coefficient 2 for breaking formula.
Distance Gets or sets a value indicating the distance of scrolling in each cycle.
HighlightColor Gets or sets a value indicating if Touch & Scroll functionality is enabled.
SleepTime Gets or sets the amount of milliseconds to sleep between each scroll cycle.
TouchAndScrollEnabled Gets or sets a value indicating if Touch & Scroll functionality is enabled.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ResetAutoScrollTime Sets the AutoScrollTime to the default value.
ResetBreakingCoefficient1 Sets the BreakingCoefficient1 to the default value.
ResetBreakingCoefficient2 Sets the BreakingCoefficient2 to the default value.
ResetDistance Sets the Distance to the default value.
ResetHighlightColor Sets the HighlightColor to the default value.
ResetSleepTime Sets the SleepTime to the default value.
ResetTouchAndScrollEnabled Sets the TouchAndScrollEnabled to the default value.
ShouldSerializeAutoScrollTime Indicates whether the AutoScrollTime property should be persisted.
ShouldSerializeBreakingCoefficient1 Indicates whether the BreakingCoefficient1 property should be persisted.
ShouldSerializeBreakingCoefficient2 Indicates whether the BreakingCoefficient2 property should be persisted.
ShouldSerializeDistance Indicates whether the Distance property should be persisted.
ShouldSerializeHighlightColor Indicates whether the HighlightColor property should be persisted.
ShouldSerializeSleepTime Indicates whether the SleepTime property should be persisted.
ShouldSerializeTouchAndScrollEnabled Indicates whether the TouchAndScrollEnabled property should be persisted.
ToString Creates a String representation of this object.
(Overrides ObjectToString)

Fields

ScrollDecelerator Represents the amount of pixels used to decelerate the scrolling when Touch & Scroll is performed.

See Also