Class RadWaitingBarElement
Represents a waiting bar element. It may be included in other telerik controls. All graphical and logical functionality is implemented in RadWaitingBarElement.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[ComVisible(false)]
public class RadWaitingBarElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadWaitingBarElement()
Initializes a new instance of the RadWaitingBarElement class.
Declaration
public RadWaitingBarElement()
Fields
continueWaiting
The continue waiting
Declaration
protected bool continueWaiting
Field Value
System.Boolean
|
IsVerticalProperty
IsWaitingProperty
StretchIndicatorsHorizontallyProperty
StretchIndicatorsVerticallyProperty
timer
The timer
Declaration
protected Timer timer
Field Value
System.Windows.Forms.Timer
|
WaitingBarOrientationProperty
WaitingDirectionProperty
WaitingIndicatorSizeProperty
WaitingSpeedProperty
WaitingStepProperty
Properties
ContentElement
Gets an instance of the WaitingBarContentElement class that represents the waiting bar content element
Declaration
public WaitingBarContentElement ContentElement { get; }
Property Value
WaitingBarContentElement
|
IndicatorImage
Gets and sets the Image of the element's indicator
Declaration
public Image IndicatorImage { get; set; }
Property Value
System.Drawing.Image
|
IndicatorImageIndex
Gets and sets the ImageIndex of the element's indicator
Declaration
public int IndicatorImageIndex { get; set; }
Property Value
System.Int32
|
IndicatorImageKey
Gets and sets the ImageKey of the element's indicator
Declaration
public string IndicatorImageKey { get; set; }
Property Value
System.String
|
IsWaiting
Indicates whether the element is currently waiting
Declaration
public bool IsWaiting { get; }
Property Value
System.Boolean
|
SeparatorElement
Gets an instance of the WaitingBarSeparatorElement class that represents the waiting bar separator element
Declaration
public WaitingBarSeparatorElement SeparatorElement { get; }
Property Value
WaitingBarSeparatorElement
|
ShowText
Shows text in RadWaitingBarElement.
Declaration
public bool ShowText { get; set; }
Property Value
System.Boolean
|
StretchIndicatorsHorizontally
Indicates whether the indicators are stretched horizontally
Declaration
public bool StretchIndicatorsHorizontally { get; set; }
Property Value
System.Boolean
|
StretchIndicatorsVertically
Indicates whether the indicators are stretched vertically
Declaration
public bool StretchIndicatorsVertically { get; set; }
Property Value
System.Boolean
|
TextElement
Gets an instance of the WaitingBarTextElement class that represents the waiting bar text element
Declaration
public WaitingBarTextElement TextElement { get; }
Property Value
WaitingBarTextElement
|
WaitingBarOrientation
When set to vertical the RadWaitingBar WaitingDirection property is set to Bottom When set to horizontal the RadWaitingBar WaitingDirection is property is set to Right
Declaration
public virtual Orientation WaitingBarOrientation { get; set; }
Property Value
System.Windows.Forms.Orientation
|
WaitingDirection
Gets and sets the direction of waiting, e.g. the Right value moves the indicator from left to right Range: Bottom, Left, Right, Top
Declaration
public ProgressOrientation WaitingDirection { get; set; }
Property Value
ProgressOrientation
|
WaitingIndicators
Gets a collection of BaseWaitingBarIndicatorElement elements which contains all waiting indicators of RadWaitingBar
Declaration
public WaitingBarIndicatorCollection WaitingIndicators { get; }
Property Value
WaitingBarIndicatorCollection
|
WaitingIndicatorSize
Gets and sets the size of the indicator in pixels
Declaration
public Size WaitingIndicatorSize { get; set; }
Property Value
System.Drawing.Size
|
WaitingSpeed
Gets and sets the speed of the indicator Greater value results in faster indicator Range: [0, 100]
Declaration
public int WaitingSpeed { get; set; }
Property Value
System.Int32
|
WaitingStep
Gets and sets the step in pixels which moves the indicator
Declaration
public int WaitingStep { get; set; }
Property Value
System.Int32
|
WaitingStyle
Sets the style of the WaitingBarElement
Declaration
public WaitingBarStyles WaitingStyle { get; set; }
Property Value
WaitingBarStyles
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetTransformAngle(ProgressOrientation)
Declaration
protected virtual float GetTransformAngle(ProgressOrientation direction)
Parameters
ProgressOrientation
direction
|
Returns
System.Single
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnStartWaiting(EventArgs)
Raises the StartWaiting event.
Declaration
protected virtual void OnStartWaiting(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnStopWaiting(EventArgs)
Raises the StopWaiting event.
Declaration
protected virtual void OnStopWaiting(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
OnWaitingStep()
Declaration
protected virtual void OnWaitingStep()
ResetWaiting()
Sets the indicator to its starting position depending on the WaitingDirection
Declaration
public void ResetWaiting()
StartWaiting()
Starts the waiting process
Declaration
public virtual void StartWaiting()
StopWaiting()
Stops the waiting process
Declaration
public virtual void StopWaiting()
TransformElements()
Declaration
protected virtual void TransformElements()
UpdateElementsState(ProgressOrientation)
Declaration
protected virtual void UpdateElementsState(ProgressOrientation direction)
Parameters
ProgressOrientation
direction
|
Events
WaitingStarted
Occurs when waiting is started.
Declaration
public event EventHandler WaitingStarted
Event Type
System.EventHandler
|
WaitingStopped
Occurs when waiting is stopped.
Declaration
public event EventHandler WaitingStopped
Event Type
System.EventHandler
|