Cylinder Class

Represents a cylinder for iWheel control.

Definition

Namespace: BeeMobile.iWheel
Assembly: BeeMobile.iWheel.NET48 (in BeeMobile.iWheel.NET48.dll) Version: 4.8.4.3
C#
public abstract class Cylinder : IDisposable
Inheritance
Object    Cylinder
Derived
Implements
IDisposable

Remarks

Objects of this type can be added into iWheel's CylinderCollection. This is a generic Cylinder which does not draw any particular data. It only paints its background using the BackColor. If you wish to draw strings on the Cylinder use a TextCylinder instead which inherits from Cylinder.

Constructors

Cylinder Initializes a new instance of Cylinder class.

Properties

AsyncObject Gets the Object used to synchronize threads that Cylinder creates during scrolling.
BackColor Gets or sets the color of the background of this Cylinder.
BreakingFunctionAdditiveTerm Gets or sets the additive component of the breaking function.
Obsolete.
BreakingFunctionLinearTerm Gets or sets the linear component of the braking function.
Obsolete.
ContinuousList Gets or sets whether the first item should show up after the last item in the list if the Cylinder is scrolled to the last item.
IsSpun Gets, whether the clinder spinning at the moment.
Items Gets the amount of items contained in this Cylinder.
Name Gets or sets the name for a Cylinder instance.
Parent Gets a CylinderCollection which this Cylinder belongs to.
ScaleFactor Gets de scale factor of the cylinder.
SelectedIndex Gets the index of the currently selected item.
TouchScrollSettings Gets a TouchScrollSettings instance which contains the settings for Touch & Scroll functionality.
TuneStep Specifies how fast is the Cylinder tuned into position after it has been scrolled.
Width Gets or sets the width of the Cylinder.

Methods

CenterSelectedItem Scrolls the Cylinder so that the currently selected item is centered.
Dispose Disposes managed and unmanaged resources of Cylinder.
Dispose(Boolean) Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
DrawBackground Draws the background of the Cylinder over its surface.
DrawData Draws the data of Cylinder over its surface.
DrawItem Draws one item over the surface of a Cylinder.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Destructor.
(Overrides ObjectFinalize)
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)
OnChanged This method informs the Parent that this Cylinder has changed.
OnSelectedIndexChanged Raises the SelectedIndexChanged event.
ResetBreakingFunctionAdditiveTerm Resets the BreakingFunctionAdditiveTerm property to its default value.
ResetBreakingFunctionLinearTerm Resets the BreakingFunctionLinearTerm property to its default value.
Scroll Scrolls the Cylinder by specified amount of pixels.
ScrollX This method is called whenever the user flicks the finger (or mouse) across iWheel along horizontal X-axis. The method does nothing in the current implementation.
ScrollY Scrolls this Cylinder by specified amount of pixels.
SetData Sets data for a Cylinder.
ShouldSerializeBackColor Indicates whether the BackColor property should be persisted.
ShouldSerializeBreakingFunctionAdditiveTerm Indicates whether the BreakingFunctionAdditiveTerm property should be persisted.
ShouldSerializeBreakingFunctionLinearTerm Indicates whether the BreakingFunctionLinearTerm property should be persisted.
ShouldSerializeContinuousList Indicates whether the ContinuousList property should be persisted.
ShouldSerializeName Indicates whether the Name property should be persisted.
ShouldSerializeSelectedIndex Indicates whether the SelectedIndex property should be persisted.
ShouldSerializeWidth Indicates whether the Width property should be persisted.
StopScrolling Stops scrolling.
ToString Returns a string which describes this object.
(Overrides ObjectToString)

Events

SelectedIndexChanged This event is fired whenever the value of the SelectedIndex property changes.

Fields

m_Data Represents the data of Cylinder

See Also