Class DotsLineWaitingBarIndicatorElement
Represents accelerating dots moving in a line.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class DotsLineWaitingBarIndicatorElement : BaseWaitingBarIndicatorElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
DotsLineWaitingBarIndicatorElement()
Declaration
public DotsLineWaitingBarIndicatorElement()
Fields
AccelerationSpeedProperty
DelayBetweenAnimationCyclesProperty
DistanceBetweenDotsProperty
DotRadiusProperty
SlowSpeedRangeProperty
WaitingDirectionProperty
Properties
AccelerationSpeed
Gets or sets the acceleration speed.
Declaration
[RadRange(0L, 50L)]
[RadPropertyDefaultValue("AccelerationSpeed", typeof(DotsLineWaitingBarIndicatorElement))]
public double AccelerationSpeed { get; set; }
Property Value
System.Double
The acceleration speed. |
DelayBetweenAnimationCycles
Gets or sets the empty frames count between animation cycles.
Declaration
[RadPropertyDefaultValue("DelayBetweenAnimationCycles", typeof(DotsLineWaitingBarIndicatorElement))]
public int DelayBetweenAnimationCycles { get; set; }
Property Value
System.Int32
The delay between animation cycles. |
DistanceBetweenDots
Gets or sets the distance between dots.
Declaration
[RadRange(0L, 2147483647L)]
[RadPropertyDefaultValue("DistanceBetweenDots", typeof(DotsLineWaitingBarIndicatorElement))]
public double DistanceBetweenDots { get; set; }
Property Value
System.Double
The distance between dots. |
DotRadius
Gets or sets the dot radius.
Declaration
[RadRange(0L, 2147483647L)]
[RadPropertyDefaultValue("DotRadius", typeof(DotsLineWaitingBarIndicatorElement))]
public int DotRadius { get; set; }
Property Value
System.Int32
The dot radius. |
IsVertical
Gets a value indicating whether the WaitingDirection is vertical(Top or Bottom).
Declaration
public bool IsVertical { get; }
Property Value
System.Boolean
|
SlowSpeedRange
Gets or sets a value, indicating the distance(in percent) which each ball moves with slow speed.
Declaration
[RadRange(0L, 100L)]
[RadPropertyDefaultValue("SlowSpeedRange", typeof(DotsLineWaitingBarIndicatorElement))]
public int SlowSpeedRange { get; set; }
Property Value
System.Int32
The slow speed range. |
WaitingDirection
Gets or sets the waiting direction.
Declaration
[RadPropertyDefaultValue("WaitingDirection", typeof(DotsLineWaitingBarIndicatorElement))]
public ProgressOrientation WaitingDirection { get; set; }
Property Value
ProgressOrientation
The waiting direction. |
Methods
Animate(Int32)
Declaration
public override void Animate(int step)
Parameters
System.Int32
step
|
Overrides
CalculateDotDistances()
Declaration
protected virtual void CalculateDotDistances()
CalculateDotLocation(Int32, ref Boolean)
Declaration
protected virtual PointF CalculateDotLocation(int dotIndex, ref bool shouldPaintDot)
Parameters
System.Int32
dotIndex
|
System.Boolean
shouldPaintDot
|
Returns
System.Drawing.PointF
|
CreateDotPositions()
Declaration
protected virtual IList<float> CreateDotPositions()
Returns
System.Collections.Generic.IList<System.Single>
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
IsDotInMaxSpeed(Single)
Declaration
protected virtual bool IsDotInMaxSpeed(float dotPosition)
Parameters
System.Single
dotPosition
|
Returns
System.Boolean
|
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
Paint(Graphics, Rectangle)
Declaration
public void Paint(Graphics graphics, Rectangle rectangle)
Parameters
System.Drawing.Graphics
graphics
|
System.Drawing.Rectangle
rectangle
|
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|
Overrides
ResetAnimation()
Declaration
public override void ResetAnimation()
Overrides
UpdateWaitingDirection(ProgressOrientation)
Declaration
public override void UpdateWaitingDirection(ProgressOrientation waitingDirection)
Parameters
ProgressOrientation
waitingDirection
|