Draws concentric inner and outer rings whose colored arc segments rotate in opposite directions.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RotatingRingsWaitingBarIndicatorElement : BaseRingWaitingBarIndicatorElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementBaseWaitingBarIndicatorElementBaseRingWaitingBarIndicatorElementRotatingRingsWaitingBarIndicatorElement...
Implements:
Inherited Members
Constructors
Creates two rotating concentric rings with the default 120-degree colored arc spans.
public RotatingRingsWaitingBarIndicatorElement()
Fields
Identifies InnerRingBackgroundColor; the metadata default is RGB 121, 148, 185.
public static RadProperty InnerRingBackgroundColorProperty
Identifies InnerRingStartAngle; the metadata default is 90 degrees.
public static RadProperty InnerRingStartAngleProperty
Identifies InnerRingSweepAngle; the metadata default arc span is 120 degrees.
public static RadProperty InnerRingSweepAngleProperty
Identifies InnerRingWidth; the metadata default is 3 before DPI scaling.
public static RadProperty InnerRingWidthProperty
Identifies OuterRingBackgroundColor; the metadata default is RGB 121, 148, 185.
public static RadProperty OuterRingBackgroundColorProperty
Identifies OuterRingSweepAngle; the metadata default arc span is 120 degrees.
public static RadProperty OuterRingSweepAngleProperty
Identifies OuterRingWidth; the metadata default is 4 before DPI scaling.
public static RadProperty OuterRingWidthProperty
Properties
Gets or sets the background color of the inner ring.
[TypeConverter(typeof(RadColorEditorConverter))]
public Color InnerRingBackgroundColor { get; set; }
The inner ring background color.
Gets or sets the inner ring start angle measured in degrees.
[RadRange(0, 360)]
public int InnerRingStartAngle { get; set; }
The inner ring start angle.
Gets or sets the inner ring sweep angle.
[RadRange(0, 360)]
public int InnerRingSweepAngle { get; set; }
The inner ring sweep angle.
Gets or sets the width of the inner ring.
[RadRange(0, 360)]
public int InnerRingWidth { get; set; }
The width of the inner ring.
Gets or sets the background color of the outer ring.
[TypeConverter(typeof(RadColorEditorConverter))]
public Color OuterRingBackgroundColor { get; set; }
The outer ring background color.
Gets or sets the outer ring sweep angle.
[RadRange(0, 360)]
public int OuterRingSweepAngle { get; set; }
The outer ring sweep angle.
Gets or sets the width of the outer ring.
[RadRange(0, 2147483647)]
public int OuterRingWidth { get; set; }
The width of the outer ring.
Methods
Advances the two colored arc angles in opposite directions and invalidates the indicator.
public override void Animate(int step)
The angular increment for this animation frame.
Overrides:
Initializes the outer and inner arc angles from their respective start-angle settings.
protected override void InitializeFields()
Overrides:
Validates both sweep angles, ring widths, and the inner ring's start angle.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The changed property and its new value.
Overrides:
Restores the outer arc to InitialStartElementAngle and the inner arc to InnerRingStartAngle.
public override void ResetAnimation()
Overrides: