Displays dots accelerating around a ring; each dot follows the configured angular lifecycle before the sequence restarts.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class DotsSpinnerWaitingBarIndicatorElement : BaseRingWaitingBarIndicatorElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementBaseWaitingBarIndicatorElementBaseRingWaitingBarIndicatorElementDotsSpinnerWaitingBarIndicatorElement...
Implements:
Inherited Members
Constructors
Creates a ring animation with its dots initially hidden and a default 720-degree travel lifecycle.
public DotsSpinnerWaitingBarIndicatorElement()
Fields
Identifies AccelerationSpeed; the default movement multiplier is 10.
public static RadProperty AccelerationSpeedProperty
Identifies DelayBetweenAnimationCycles; the default empty-cycle delay is 20 frames.
public static RadProperty DelayBetweenAnimationCyclesProperty
Identifies DistanceBetweenDots; the default gap is 2.
public static RadProperty DistanceBetweenDotsProperty
Identifies DotRadius; the metadata default is 5 before DPI scaling.
public static RadProperty DotRadiusProperty
Identifies DotSweepAngleLifeCycle; the default travel lifecycle is 720 degrees.
public static RadProperty DotSweepAngleLifeCycleProperty
Identifies MaxSpeedSweepAngle; the default maximum-speed span is 210 degrees.
public static RadProperty MaxSpeedSweepAngleProperty
Properties
Gets or sets the acceleration speed.
[RadRange(0, 100)]
public double AccelerationSpeed { get; set; }
The acceleration speed.
Gets or sets the empty frames count between animation cycles.
public int DelayBetweenAnimationCycles { get; set; }
The delay between animation cycles.
Gets or sets the distance between dots.
[RadRange(0, 2147483647)]
public double DistanceBetweenDots { get; set; }
The distance between dots.
Gets or sets the dot radius.
[RadRange(0, 2147483647)]
public virtual int DotRadius { get; set; }
The dot radius.
Gets or sets the sweep angle dot travels before the end of animation cycle.
[RadRange(0, 2147483647)]
public virtual int DotSweepAngleLifeCycle { get; set; }
The dot sweep angle life cycle.
Gets or sets the max speed sweep angle.
[RadRange(0, 360)]
public virtual int MaxSpeedSweepAngle { get; set; }
The max speed sweep angle.
Methods
Advances all dot angles according to the acceleration settings and starts the configured empty delay after a cycle.
public override void Animate(int step)
The angular increment supplied for this animation frame.
Overrides:
Advances a dot by at least one angle step, applying acceleration in the maximum-speed region.
Creates one initial hidden angle for each configured dot.
protected virtual IList<int> CreateDotAnglePositions()
IList<int>
The dot angles used to start a new animation cycle.
Initializes the empty-cycle counter and minimum angular step after base fields are set.
protected override void InitializeFields()
Overrides:
Raises the event.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The RadPropertyChangedEventArgs instance containing the event data.
Overrides:
Draws each visible dot using the indicator's current bounds and element color.
public override void Paint(Graphics graphics, Rectangle rectangle)
The drawing surface.
rectangleRectangleThe bounds passed by the caller; dot placement uses the element's current bounds.
Overrides:
Dot positions are calculated from the element's current bounds rather than the
rectangleargument.
Resets the base ring angle, recomputes spacing, and returns all dots to their initial hidden positions.
public override void ResetAnimation()
Overrides: