Class RadRotatorElement
The RadItem containing RadRotatorItem, Border and Fill primitives
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadRotatorElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
RadRotatorElement()
Declaration
public RadRotatorElement()
Properties
AnimationFrames
Gets or Sets the swap animation's frames number
Declaration
public int AnimationFrames { get; set; }
Property Value
System.Int32
|
CurrentIndex
Gets or Sets the index of the current item. Note: When setting the current item, the old and the new item will be swapped.
Declaration
public int CurrentIndex { get; set; }
Property Value
System.Int32
|
See Also
CurrentItem
Gets the current item.
Declaration
public RadItem CurrentItem { get; }
Property Value
RadItem
|
See Also
DefaultItem
Gets or Sets the RadItem that is to be displayed while loading the rest items. It is not cycled through when rotation starts. If you want to have initial item that will be cycled through, add it to the Items collection and advance to it using Goto(Int32)
Declaration
public RadItem DefaultItem { get; set; }
Property Value
RadItem
|
See Also
Interval
Gets or Sets the interval between consequetive rotation animations.
Declaration
public int Interval { get; set; }
Property Value
System.Int32
|
Items
Gets the collection of RadItems that will be rotated.
Declaration
public RadItemOwnerCollection Items { get; }
Property Value
RadItemOwnerCollection
|
LocationAnimation
Gets or Sets value defining the initial position of the incomming item and the final position of the outgoing item. Note: The position is relative, in the range [-1, 1] for each of the components (X, Y). Value of positive or negative 1 means that the object will not be in the visible area before the animation begins (for the incomming item) or after it ends (for the outgoing item)
Declaration
public SizeF LocationAnimation { get; set; }
Property Value
System.Drawing.SizeF
|
OpacityAnimation
Gets or Sets value indicating whether opacity will be animated when switching frames
Declaration
public bool OpacityAnimation { get; set; }
Property Value
System.Boolean
|
RotatorItem
Gets the RadRotatorItem in the current RadElement
Declaration
public RadRotatorItem RotatorItem { get; }
Property Value
RadRotatorItem
|
Running
Gets or Sets value indicating whether the RadRotator is started/stopped.
Declaration
public bool Running { get; set; }
Property Value
System.Boolean
|
See Also
ShouldStopOnMouseOver
Gets or sets whether RadRotator should stop rotating on MouseOver
Declaration
public bool ShouldStopOnMouseOver { get; set; }
Property Value
System.Boolean
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
Goto(Int32)
Declaration
public bool Goto(int index)
Parameters
System.Int32
index
|
Returns
System.Boolean
|
GotoDefault()
Declaration
public bool GotoDefault()
Returns
System.Boolean
|
InitializeFields()
Next()
Declaration
public bool Next()
Returns
System.Boolean
|
Previous()
Declaration
public bool Previous()
Returns
System.Boolean
|
Start(Boolean)
Declaration
public bool Start(bool startImmediately)
Parameters
System.Boolean
startImmediately
|
Returns
System.Boolean
|
Stop()
Declaration
public void Stop()
Events
BeginRotate
EndRotate
Declaration
public event EventHandler EndRotate
Event Type
System.EventHandler
|
ItemClicked
Declaration
public event EventHandler ItemClicked
Event Type
System.EventHandler
|
StartRotation
Declaration
public event CancelEventHandler StartRotation
Event Type
System.ComponentModel.CancelEventHandler
|
StopRotation
Declaration
public event EventHandler StopRotation
Event Type
System.EventHandler
|