ClassDotsLineWaitingBarIndicatorElement
Represents accelerating dots moving in a line.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class DotsLineWaitingBarIndicatorElement : BaseWaitingBarIndicatorElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementBaseWaitingBarIndicatorElementDotsLineWaitingBarIndicatorElement
Implements:
Inherited Members
Constructors
DotsLineWaitingBarIndicatorElement()
Declaration
public DotsLineWaitingBarIndicatorElement()
Fields
AccelerationSpeedProperty
Declaration
public static RadProperty AccelerationSpeedProperty
Field Value
DelayBetweenAnimationCyclesProperty
Declaration
public static RadProperty DelayBetweenAnimationCyclesProperty
Field Value
DistanceBetweenDotsProperty
Declaration
public static RadProperty DistanceBetweenDotsProperty
Field Value
SlowSpeedRangeProperty
Declaration
public static RadProperty SlowSpeedRangeProperty
Field Value
WaitingDirectionProperty
Declaration
public static RadProperty WaitingDirectionProperty
Field Value
Properties
AccelerationSpeed
Gets or sets the acceleration speed.
Declaration
[RadRange(0, 50)]
public double AccelerationSpeed { get; set; }
Property Value
The acceleration speed.
DelayBetweenAnimationCycles
Gets or sets the empty frames count between animation cycles.
Declaration
public int DelayBetweenAnimationCycles { get; set; }
Property Value
The delay between animation cycles.
DistanceBetweenDots
Gets or sets the distance between dots.
Declaration
[RadRange(0, 2147483647)]
public double DistanceBetweenDots { get; set; }
Property Value
The distance between dots.
DotRadius
Gets or sets the dot radius.
Declaration
[RadRange(0, 2147483647)]
public int DotRadius { get; set; }
Property Value
The dot radius.
IsVertical
Gets a value indicating whether the WaitingDirection is vertical(Top or Bottom).
SlowSpeedRange
Gets or sets a value, indicating the distance(in percent) which each ball moves with slow speed.
Declaration
[RadRange(0, 100)]
public int SlowSpeedRange { get; set; }
Property Value
The slow speed range.
WaitingDirection
Gets or sets the waiting direction.
Declaration
public ProgressOrientation WaitingDirection { get; set; }
Property Value
The waiting direction.
Methods
CalculateDotDistances()
Declaration
protected virtual void CalculateDotDistances()
CreateDotPositions()
Declaration
protected virtual IList<float> CreateDotPositions()
Returns
IList<float>
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
Event arguments containing information about the property that changed.
Overrides
PaintElement(IGraphics, float, SizeF)
Performs the main painting operation for the element, rendering fill, content, and border in the correct order.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
graphics
The graphics context used for rendering.
angle
The rotation angle to apply during painting.
scale
The scaling factor to apply during painting.
Overrides
ResetAnimation()
Declaration
public override void ResetAnimation()
Overrides
UpdateWaitingDirection(ProgressOrientation)
Declaration
public override void UpdateWaitingDirection(ProgressOrientation waitingDirection)
Parameters
waitingDirection
Overrides