Class
RadProgressBar

Represents a progress bar. You can set progress bar appearance in numerous ways. For example, you can use dash or dash integral style, set separator color and width, set a background image, etc. The RadProgressBar class is a simple wrapper for the RadProgressBarElement class. The latter may be nested in other telerik controls. All UI and logic functionality is implemented by the RadProgressBarElement class. RadProgressBar acts to transfer the events to and from the RadProgressBarElement class.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadProgressBar : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadProgressBar

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window

Inherited Members RadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Dispose(bool)RadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)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(ref Message)RadControl.OnInvalidated(RadElement)RadControl.OnLoad(Size)RadControl.OnCaptureLosing()RadControl.OnThemeChanged()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.ProcessAutoSizeChanged(bool)RadControl.IsInputKey(Keys)RadControl.GetInputElement()RadControl.BeginInit()RadControl.EndInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.GetRootElementDesiredSize(int, int, int, int)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(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.ScaleControl(SizeF, BoundsSpecified)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.EnableThemingRadControl.ThemeClassNameRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.CausesValidationRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.ShowItemToolTipsRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.OnPaintBackground(PaintEventArgs)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.CreateParamsScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateAccessibilityInstance()Control.CreateControlsInstance()Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.Hide()Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsInputChar(char)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnParentVisibleChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnControlAdded(ControlEventArgs)Control.OnControlRemoved(ControlEventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.OnEnter(EventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.OnLeave(EventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnMouseDoubleClick(MouseEventArgs)Control.OnMouseClick(MouseEventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnSizeChanged(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessCmdKey(ref Message, Keys)Control.ProcessDialogChar(char)Control.ProcessDialogKey(Keys)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.SetVisibleCore(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.Show()Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanRaiseEventsControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.CursorControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMarginControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MouseWheelControl.MoveControl.PreviewKeyDownControl.ResizeControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)

Constructors

RadProgressBar()

Initializes a new instance of the RadProgressBar class.

Declaration

cs-api-definition
public RadProgressBar()

Properties

BackgroundImage

Gets or sets the background image of the RadProgressBar.

Declaration

cs-api-definition
public override Image BackgroundImage { get; set; }

Property Value

Image

Overrides Control.BackgroundImage

BackgroundImageLayout

Gets or sets the layout of the background image of the RadProgressBar.

Declaration

cs-api-definition
public override ImageLayout BackgroundImageLayout { get; set; }

Property Value

ImageLayout

Overrides Control.BackgroundImageLayout

Dash

Indicates whether the progress bar style is dash. When style is dash the progress line is broken into segments with separators in between them.

Declaration

cs-api-definition
public bool Dash { get; set; }

Property Value

bool

DefaultSize

Gets the default size for the progress bar control.

Declaration

cs-api-definition
protected override Size DefaultSize { get; }

Property Value

Size

Overrides Control.DefaultSize

Hatch

Indicates whether the progress bar style is hatch. When style is hatch the progress line is covered with a hatch. You will have to change the SweepAngle in order to see the style.

Declaration

cs-api-definition
public bool Hatch { get; set; }

Property Value

bool

Image

Gets or sets the image displayed in the progress indicator.

Declaration

cs-api-definition
public Image Image { get; set; }

Property Value

Image

ImageAlignment

Gets or sets the alignment of the image of the progress line.

Declaration

cs-api-definition
public ContentAlignment ImageAlignment { get; set; }

Property Value

ContentAlignment

ImageIndex

Gets or sets the index of the image from the associated ImageList to display in the progress indicator.

Declaration

cs-api-definition
[RelatedImageList("ImageList")]
[TypeConverter("Telerik.WinControls.UI.Design.NoneExcludedImageIndexConverter, Telerik.WinControls.UI.Design, Version=2026.1.217.48, Culture=neutral, PublicKeyToken=5bb2a467cbec794e")]
public int ImageIndex { get; set; }

Property Value

int

ImageKey

Gets or sets the key of the image from the associated ImageList to display in the progress indicator.

Declaration

cs-api-definition
[RelatedImageList("ImageList")]
[TypeConverter("Telerik.WinControls.UI.Design.RadImageKeyConverter, Telerik.WinControls.UI.Design, Version=2026.1.217.48, Culture=neutral, PublicKeyToken=5bb2a467cbec794e")]
public string ImageKey { get; set; }

Property Value

string

ImageLayout

Gets or sets the layout of the image in the progress indicator.

Declaration

cs-api-definition
public ImageLayout ImageLayout { get; set; }

Property Value

ImageLayout

IntegralDash

When style is dash indicates if the progress indicators will progress on steps or smoothly.

Declaration

cs-api-definition
public bool IntegralDash { get; set; }

Property Value

bool

Maximum

Gets or sets the maximum value for the progress.

Declaration

cs-api-definition
public int Maximum { get; set; }

Property Value

int

The maximum.

Minimum

Gets or sets the minimum value for the progress.

Declaration

cs-api-definition
public int Minimum { get; set; }

Property Value

int

The minimum.

ProgressBarElement

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

Declaration

cs-api-definition
[Browsable(false)]
public RadProgressBarElement ProgressBarElement { get; }

Property Value

RadProgressBarElement

ProgressOrientation

Gets or sets the progress orientation: Bottom, Left, Right, Top.

Declaration

cs-api-definition
public ProgressOrientation ProgressOrientation { get; set; }

Property Value

ProgressOrientation

SeparatorColor1

Gets or sets the first gradient color for separators

Declaration

cs-api-definition
public Color SeparatorColor1 { get; set; }

Property Value

Color

The separator color1.

SeparatorColor2

Gets or sets the second gradient color for separators.

Declaration

cs-api-definition
public Color SeparatorColor2 { get; set; }

Property Value

Color

The separator color2.

SeparatorColor3

Gets or sets the third gradient color for separators.

Declaration

cs-api-definition
public Color SeparatorColor3 { get; set; }

Property Value

Color

The separator color3.

SeparatorColor4

Gets or sets the fourth gradient color for separators.

Declaration

cs-api-definition
public Color SeparatorColor4 { get; set; }

Property Value

Color

The separator color4.

SeparatorGradientAngle

Gets or sets the fourth gradient color for separators.

Declaration

cs-api-definition
public int SeparatorGradientAngle { get; set; }

Property Value

int

The separator gradient angle.

SeparatorGradientPercentage1

Gets or sets the first color stop in the separator gradient.

Declaration

cs-api-definition
public float SeparatorGradientPercentage1 { get; set; }

Property Value

float

The separator gradient percentage1.

SeparatorGradientPercentage2

Gets or sets the second color stop in the separator gradient.

Declaration

cs-api-definition
public float SeparatorGradientPercentage2 { get; set; }

Property Value

float

The separator gradient percentage2.

SeparatorNumberOfColors

Gets or sets the number of colors used in the separator gradient.

Declaration

cs-api-definition
public int SeparatorNumberOfColors { get; set; }

Property Value

int

The separator number of colors.

SeparatorWidth

Gets or sets the separators width in pixels.

Declaration

cs-api-definition
public int SeparatorWidth { get; set; }

Property Value

int

The width of the separator.

ShowProgressIndicators

Gets or sets if the progress should be show with percentages.

Declaration

cs-api-definition
public bool ShowProgressIndicators { get; set; }

Property Value

bool

Step

Gets or sets a value indicating the amount to increment the current value with.

Declaration

cs-api-definition
public int Step { get; set; }

Property Value

int

The step.

StepWidth

Gets or sets the StepWidth between different separators.

Declaration

cs-api-definition
public int StepWidth { get; set; }

Property Value

int

The width of the step.

SweepAngle

Gets or sets the angle at which the dash or hatch lines are tilted.

Declaration

cs-api-definition
public int SweepAngle { get; set; }

Property Value

int

Text

Gets or sets the text associated with this control.

Declaration

cs-api-definition
[Bindable(true)]
public override string Text { get; set; }

Property Value

string

The text.

Overrides RadControl.Text

TextAlignment

Gets or sets the alignment of the text content on the drawing surface.

Declaration

cs-api-definition
public ContentAlignment TextAlignment { get; set; }

Property Value

ContentAlignment

TextOrientation

Gets or sets the text orientation in the progress bar.

Declaration

cs-api-definition
public Orientation TextOrientation { get; set; }

Property Value

Orientation

Value1

Gets or sets the value of the first progress line. There could be two progress lines in the progress bar.

Declaration

cs-api-definition
public int Value1 { get; set; }

Property Value

int

Value2

Gets or sets the value of the second progress line. There could be two progress lines in the progress bar.

Declaration

cs-api-definition
public int Value2 { get; set; }

Property Value

int

Methods

CreateChildItems(RadElement)

Creates the child elements that make up the progress bar structure.

Declaration

cs-api-definition
protected override void CreateChildItems(RadElement parent)

Parameters

parent

RadElement

The parent element to which child elements will be added.

Overrides RadControl.CreateChildItems(RadElement)

CreateProgressBarElement()

Creates and returns a new instance of RadProgressBarElement that provides the core functionality for this progress bar.

Declaration

cs-api-definition
protected virtual RadProgressBarElement CreateProgressBarElement()

Returns

RadProgressBarElement

A new RadProgressBarElement instance.

OnPropertyChanged(ProgressBarEventArgs)

Raises the appropriate event based on the specified ProgressBarEventArgs.

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(ProgressBarEventArgs e)

Parameters

e

ProgressBarEventArgs

The ProgressBarEventArgs instance containing the event data.

ResetBackColorThemeOverrides()

Resets background color theme overrides by clearing custom overrides and applying the current theme.

Declaration

cs-api-definition
protected override void ResetBackColorThemeOverrides()

Overrides RadControl.ResetBackColorThemeOverrides()

ResetForeColorThemeOverrides()

Resets foreground color theme overrides by clearing custom overrides and applying the current theme.

Declaration

cs-api-definition
protected override void ResetForeColorThemeOverrides()

Overrides RadControl.ResetForeColorThemeOverrides()

SetBackColorThemeOverrides()

Sets theme overrides for the background color by applying the specified color across all visual states.

Declaration

cs-api-definition
protected override void SetBackColorThemeOverrides()

Overrides RadControl.SetBackColorThemeOverrides()

SetForeColorThemeOverrides()

Sets theme overrides for the foreground color by applying the specified color across all visual states.

Declaration

cs-api-definition
protected override void SetForeColorThemeOverrides()

Overrides RadControl.SetForeColorThemeOverrides()

Events

DashChanged

Occurs when the dash property is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler DashChanged

Event Value

RadProgressBar.ProgressBarHandler

HatchChanged

Occurs when the hatch property is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler HatchChanged

Event Value

RadProgressBar.ProgressBarHandler

IntegralDashChanged

Occurs when the integral dash property is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler IntegralDashChanged

Event Value

RadProgressBar.ProgressBarHandler

MaximumChanged

Occurs when the maximum property is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler MaximumChanged

Event Value

RadProgressBar.ProgressBarHandler

MinimumChanged

Occurs when the minimum property is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler MinimumChanged

Event Value

RadProgressBar.ProgressBarHandler

ProgressOrientationChanged

Occurs when the progress orientation is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler ProgressOrientationChanged

Event Value

RadProgressBar.ProgressBarHandler

SeparatorColorChanged

Occurs when the separator color is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler SeparatorColorChanged

Event Value

RadProgressBar.ProgressBarHandler

SeparatorWidthChanged

Occurs when the separator width is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler SeparatorWidthChanged

Event Value

RadProgressBar.ProgressBarHandler

ShowProgressIndicatorsChanged

Occurs when show progress indicators is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler ShowProgressIndicatorsChanged

Event Value

RadProgressBar.ProgressBarHandler

StepChanged

Occurs when the step is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler StepChanged

Event Value

RadProgressBar.ProgressBarHandler

StepWidthChanged

Occurs when the step width is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler StepWidthChanged

Event Value

RadProgressBar.ProgressBarHandler

TextAlignmentChanged

Occurs when the text alignment is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler TextAlignmentChanged

Event Value

RadProgressBar.ProgressBarHandler

TextOrientationChanged

Occurs when the text orientation is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler TextOrientationChanged

Event Value

RadProgressBar.ProgressBarHandler

ValueChanged

Occurs when the value is changed.

Declaration

cs-api-definition
public event RadProgressBar.ProgressBarHandler ValueChanged

Event Value

RadProgressBar.ProgressBarHandler