About Progress

  • Company
    • Company Overview
    • Leadership
    • Investor Relations
    • Press Releases
    • Press Coverage
    • Events
    • Awards
    • Corporate Blog
    • Customers
    • Careers
    • Offices
  • Technology
    • Cloud Native App Dev Platform
    • Cognitive Services
    • Web Content Management
    • UI/UX Tools
    • Secure Data Connectivity and Integration
    • Secure Managed File Transfer
    • OpenEdge
    • Network Monitoring
  • Services
    • Consulting
    • Education
    • Modernization
    • Outsourcing
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • Conversational UI
    • Online Training
    • Document Processing Library

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP

    Mobile

    UI for Xamarin NativeScript OSS framework

    Desktop

    UI for WPF UI for UWP UI for WinForms

    Reporting & Mocking

    Telerik Reporting Telerik Report Server Telerik JustMock

    Automated Testing

    Test Studio Test Studio Dev Edition

    CMS

    Sitefinity

    UX Design

    Unite UX

    Document Management

    Telerik Document Processing

    Innovations Lab

    VR DataViz

    Free Tools

    Fiddler JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadWaitingBar

The RadWaitingBar class is a simple wrapper for the RadWaitingBarElement class. The latter implements all UI and logic functionality. The RadWaitingBar class acts to transfer events to and from the RadWaitingBarElement class. RadWaitingBarElement can be nested in other telerik controls.

Inheritance
System.Object
RadControl
RadWaitingBar
Inherited Members
RadControl.isResizing2
RadControl.isDisposing2
RadControl.invalidResizeRect
RadControl.isAccessibilityRequested
RadControl.Construct()
RadControl.CreateBehavior()
RadControl.CreateRootElement()
RadControl.InitializeRootElement(RootRadElement)
RadControl.LoadElementTree()
RadControl.LoadElementTree(Size)
RadControl.SetIsInitializing(Boolean)
RadControl.ShouldSerializeBackColor()
RadControl.ShouldSerializeForeColor()
RadControl.ShouldSerializeFont()
RadControl.OnKeyDown(KeyEventArgs)
RadControl.OnKeyUp(KeyEventArgs)
RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)
RadControl.OnKeyPress(KeyPressEventArgs)
RadControl.OnClick(EventArgs)
RadControl.OnDoubleClick(EventArgs)
RadControl.OnMouseDown(MouseEventArgs)
RadControl.OnMouseUp(MouseEventArgs)
RadControl.OnMouseEnter(EventArgs)
RadControl.OnMouseLeave(EventArgs)
RadControl.OnMouseMove(MouseEventArgs)
RadControl.OnMouseHover(EventArgs)
RadControl.OnMouseWheel(MouseEventArgs)
RadControl.OnMouseCaptureChanged(EventArgs)
RadControl.OnGotFocus(EventArgs)
RadControl.OnLostFocus(EventArgs)
RadControl.OnCreateControl()
RadControl.OnHandleDestroyed(EventArgs)
RadControl.OnParentChanged(EventArgs)
RadControl.OnVisibleChanged(EventArgs)
RadControl.OnFontChanged(EventArgs)
RadControl.OnForeColorChanged(EventArgs)
RadControl.OnBackColorChanged(EventArgs)
RadControl.OnEnabledChanged(EventArgs)
RadControl.OnBindingContextChanged(EventArgs)
RadControl.OnLocationChanged(EventArgs)
RadControl.OnPaddingChanged(EventArgs)
RadControl.OnRightToLeftChanged(EventArgs)
RadControl.OnPaint(PaintEventArgs)
RadControl.OnLayout(LayoutEventArgs)
RadControl.OnAutoSizeChanged(EventArgs)
RadControl.WndProc(Message)
RadControl.OnInvalidated(RadElement)
RadControl.OnCaptureLosing()
RadControl.OnThemeChanged()
RadControl.OnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.ProcessMnemonic(Char)
RadControl.ProcessFocusRequested(RadElement)
RadControl.ProcessCaptureChangeRequested(RadElement, Boolean)
RadControl.ProcessAutoSizeChanged(Boolean)
RadControl.CallOnMouseCaptureChanged(EventArgs)
RadControl.CallBaseOnGotFocus(EventArgs)
RadControl.CallBaseOnLostFocus(EventArgs)
RadControl.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.CallOnMouseUp(MouseEventArgs)
RadControl.CallOnMouseDown(MouseEventArgs)
RadControl.CallOnClick(EventArgs)
RadControl.CallOnDoubleClick(EventArgs)
RadControl.CallOnMouseEnter(EventArgs)
RadControl.CallOnMouseWheel(MouseEventArgs)
RadControl.CallOnMouseLeave(EventArgs)
RadControl.CallOnMouseMove(MouseEventArgs)
RadControl.CallOnMouseHover(EventArgs)
RadControl.CallOnPreviewKeyDown(PreviewKeyDownEventArgs)
RadControl.CallBaseOnKeyDown(KeyEventArgs)
RadControl.CallOnKeyDown(KeyEventArgs)
RadControl.CallBaseOnKeyPress(KeyPressEventArgs)
RadControl.CallOnKeyPress(KeyPressEventArgs)
RadControl.IsInputKey(Keys)
RadControl.GetInputElement()
RadControl.CallBaseOnKeyUp(KeyEventArgs)
RadControl.CallOnKeyUp(KeyEventArgs)
RadControl.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.CallOnVisibleChanged(EventArgs)
RadControl.BeginInit()
RadControl.EndInit()
RadControl.OnNotifyPropertyChanged(String)
RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadControl.IComponentTreeHandler.GetShowFocusCues()
RadControl.IComponentTreeHandler.CreateRootElement()
RadControl.IComponentTreeHandler.CreateChildItems(RadElement)
RadControl.IComponentTreeHandler.InitializeRootElement(RootRadElement)
RadControl.IComponentTreeHandler.InvalidateElement(RadElement)
RadControl.IComponentTreeHandler.InvalidateElement(RadElement, Rectangle)
RadControl.IComponentTreeHandler.InvalidateIfNotSuspended()
RadControl.IComponentTreeHandler.GetAmbientPropertyValue(RadProperty)
RadControl.IComponentTreeHandler.ControlThemeChangedCallback()
RadControl.IComponentTreeHandler.OnAmbientPropertyChanged(RadProperty)
RadControl.IComponentTreeHandler.OnFocusRequested(RadElement)
RadControl.IComponentTreeHandler.OnCaptureChangeRequested(RadElement, Boolean)
RadControl.IComponentTreeHandler.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadControl.IComponentTreeHandler.CallOnThemeNameChanged(ThemeNameChangedEventArgs)
RadControl.IComponentTreeHandler.CallOnMouseCaptureChanged(EventArgs)
RadControl.IComponentTreeHandler.CallOnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)
RadControl.IComponentTreeHandler.CallOnScreenTipNeeded(Object, ScreenTipNeededEventArgs)
RadControl.GetPreferredSize(Size)
RadControl.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
RadControl.GetRootElementDesiredSize(Int32, Int32, Int32, Int32)
RadControl.OnZoomGesture(ZoomGestureEventArgs)
RadControl.OnRotateGesture(RotateGestureEventArgs)
RadControl.OnPanGesture(PanGestureEventArgs)
RadControl.OnTwoFingerTapGesture(GestureEventArgs)
RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)
RadControl.OnGesture(GestureEventArgs)
RadControl.ProcessGesture(Message)
RadControl.EnableGesture(GestureType)
RadControl.DisableGesture(GestureType)
RadControl.Refresh()
RadControl.SuspendUpdate()
RadControl.ResumeUpdate()
RadControl.ResumeUpdate(Boolean)
RadControl.InvokeLayoutCallback(LayoutCallback)
RadControl.RegisterHostedControl(RadHostItem)
RadControl.UnregisterHostedControl(RadHostItem, Boolean)
RadControl.ControlDefinesThemeForElement(RadElement)
RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)
RadControl.GetPlainText()
RadControl.CanEditUIElement(RadElement)
RadControl.GetChildAt(Int32)
RadControl.ShouldSerializeProperty(RadProperty)
RadControl.CanEditElementAtDesignTime(RadElement)
RadControl.GetControlDefaultSize()
RadControl.GetDpiScaledSize(Size)
RadControl.GetDpiScaledSize(SizeF)
RadControl.ProcessCodedUIMessage(IPCMessage)
RadControl.FindPropertyInChildren(RadControl, IPCMessage)
RadControl.CallAccessibilityNotifyClients(AccessibleEvents, Int32)
RadControl.IPCHost.ProcessMessage(IPCMessage)
RadControl.ScaleControl(SizeF, BoundsSpecified)
RadControl.IComponentTreeHandler.get_Name()
RadControl.IComponentTreeHandler.set_Name(String)
RadControl.EnableDpiScaling
RadControl.EnableImageDpiScaling
RadControl.IsTrial
RadControl.IsLoaded
RadControl.LayoutManager
RadControl.ElementTree
RadControl.UseCompatibleTextRenderingDefaultValue
RadControl.Behavior
RadControl.RootElement
RadControl.Padding
RadControl.ThemeName
RadControl.EnableTheming
RadControl.ThemeClassName
RadControl.ImageList
RadControl.ImageScalingSize
RadControl.UseCompatibleTextRendering
RadControl.MaximumSize
RadControl.MinimumSize
RadControl.Focusable
RadControl.Site
RadControl.CausesValidation
RadControl.IsInitializing
RadControl.SmallImageList
RadControl.SmallImageScalingSize
RadControl.IsDesignMode
RadControl.IsDisplayed
RadControl.FocusedElement
RadControl.AllowShowFocusCues
RadControl.ShowItemToolTips
RadControl.CommandBindings
RadControl.EnableKeyMap
RadControl.BackColor
RadControl.ForeColor
RadControl.Font
RadControl.ValidationCancel
RadControl.IComponentTreeHandler.IsDesignMode
RadControl.IComponentTreeHandler.ElementTree
RadControl.IComponentTreeHandler.Behavior
RadControl.IComponentTreeHandler.Initializing
RadControl.IComponentTreeHandler.ThemeClassName
RadControl.EnableGestures
RadControl.EnableAnalytics
RadControl.AnalyticsName
RadControl.EnableRadAccessibilityObjects
RadControl.AccessibilityRequested
RadControl.EnableCodedUITests
RadControl.EnableCodedUITestsDefaultValue
RadControl.IPCHost.Context
RadControl.ElementInvalidated
RadControl.ToolTipTextNeeded
RadControl.ScreenTipNeeded
RadControl.ThemeNameChanged
RadControl.Initialized
RadControl.PropertyChanged
RadControl.ZoomGesture
RadControl.RotateGesture
RadControl.PanGesture
RadControl.TwoFingerTapGesture
RadControl.PressAndTapGesture
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class RadWaitingBar : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider

Constructors

RadWaitingBar()

Declaration
public RadWaitingBar()

Properties

AssociatedControl

Gets/Sets the control to associated it. RadWaitingBar will be shown in the middle of the associated control when started.

Declaration
public Control AssociatedControl { get; set; }
Property Value
System.Windows.Forms.Control

AssociatedControlCoverPanel

Gets the associated panel.

Declaration
public RadPanel AssociatedControlCoverPanel { get; }
Property Value
RadPanel

AutoSize

Gets or sets whether the edit control is auto-sized

Declaration
public override bool AutoSize { get; set; }
Property Value
System.Boolean

Overrides
RadControl.AutoSize

DefaultSize

Sets the DefaultSize of RadWaitingBar

Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size

Image

Gets and sets the image property of the indicator

Declaration
public Image Image { get; set; }
Property Value
System.Drawing.Image

ImageIndex

Gets and sets the image index property of the indicator

Declaration
public int ImageIndex { get; set; }
Property Value
System.Int32

ImageKey

Gets and sets the image key property of the indicator

Declaration
public string ImageKey { get; set; }
Property Value
System.String

IsWaiting

Indicates whether the control is currently waiting

Declaration
public bool IsWaiting { get; }
Property Value
System.Boolean

Orientation

Indicates the orientation of the RadWaitingBar

Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Forms.Orientation

ShowText

Shows text in RadWaitingBar.

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

Text

Gets and sets the text of the control's textElement

Declaration
public override string Text { get; set; }
Property Value
System.String

Overrides
RadControl.Text

WaitingBarElement

Gets the instance of RadWaitingBarElement wrapped by this control. RadWaitingBarElement is the main element in the hierarchy tree and encapsulates the actual functionality of RadWaitingBar.

Declaration
public RadWaitingBarElement WaitingBarElement { get; }
Property Value
RadWaitingBarElement

WaitingDirection

Gets and sets the WaitingDirection of the RadWaitingBarElement

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 animation. Higher value moves the indicator more quickly across the bar

Declaration
public int WaitingSpeed { get; set; }
Property Value
System.Int32

WaitingStep

Gets and sets the number of pixels the indicator moves each step

Declaration
public int WaitingStep { get; set; }
Property Value
System.Int32

WaitingStyle

Sets the style of RadWaitingBar

Declaration
public WaitingBarStyles WaitingStyle { get; set; }
Property Value
WaitingBarStyles

Methods

AddBackgroundImageToAssociatedControlCoverPanel()

Declaration
protected virtual void AddBackgroundImageToAssociatedControlCoverPanel()

CreateAssociatedCoverPanel()

Declaration
protected virtual void CreateAssociatedCoverPanel()

CreateChildItems(RadElement)

Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement parent

Overrides
RadControl.CreateChildItems(RadElement)

CreateWaitingBarElement()

Creates the waiting bar element.

Declaration
protected virtual RadWaitingBarElement CreateWaitingBarElement()
Returns
RadWaitingBarElement

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean disposing

Overrides
RadControl.Dispose(Boolean)

OnLoad(Size)

Declaration
protected override void OnLoad(Size desiredSize)
Parameters
System.Drawing.Size desiredSize

Overrides
RadControl.OnLoad(Size)

OnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)

Declaration
protected override void OnToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
Parameters
System.Object sender

ToolTipTextNeededEventArgs e

Overrides
RadControl.OnToolTipTextNeeded(Object, ToolTipTextNeededEventArgs)

ResetBackColorThemeOverrides()

Declaration
protected override void ResetBackColorThemeOverrides()
Overrides
RadControl.ResetBackColorThemeOverrides()

ResetForeColorThemeOverrides()

Declaration
protected override void ResetForeColorThemeOverrides()
Overrides
RadControl.ResetForeColorThemeOverrides()

ResetWaiting()

Resets the waiting indicator to initial position.

Declaration
public void ResetWaiting()

SetBackColorThemeOverrides()

Declaration
protected override void SetBackColorThemeOverrides()
Overrides
RadControl.SetBackColorThemeOverrides()

SetForeColorThemeOverrides()

Declaration
protected override void SetForeColorThemeOverrides()
Overrides
RadControl.SetForeColorThemeOverrides()

ShouldSerializeWaitingBarElement()

exclude WaitingBarElement from Serilization

Declaration
public bool ShouldSerializeWaitingBarElement()
Returns
System.Boolean

should serialize

StartWaiting()

Starts the waiting animation.

Declaration
public void StartWaiting()

StopWaiting()

Stops the waiting animation.

Declaration
public void StopWaiting()

Events

WaitingStarted

Starts control waiting

Declaration
public event EventHandler WaitingStarted
Event Type
System.EventHandler

WaitingStopped

Ends control waiting

Declaration
public event EventHandler WaitingStopped
Event Type
System.EventHandler

Was this article helpful?

 / 

Give article feedback

Tell us how we can improve this article

Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.