New to Telerik UI for WPFStart a free 30-day trial

Represents a control that indicates a busy state of an application or a specific process. The RadBusyIndicator allows customization of the busy indication through various properties such as IsBusy, BusyContent, and ProgressValue. It can be used to inform users that an operation is in progress, thereby improving user experience. Additionally, the control supports customization of the overlay and progress bar styles through the OverlayStyle and ProgressBarStyle properties. It includes functionality for displaying a localized message during the busy state via the BusyContent property, which can bind a localized string to the indicator. The DisplayAfter property specifies the duration after which the busy indicator is shown, allowing it to avoid flickering for very brief operations. The control also supports indeterminate progress indication through the IsIndeterminate property. Use this control in situations where feedback is needed while an application is busy performing tasks, such as loading data or processing user input.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
[TelerikToolboxCategory("Containers")]
public class RadBusyIndicator : ContentControl

Inheritance: objectRadBusyIndicator

Constructors

Initializes a new instance of the RadBusyIndicator class.

C#
public RadBusyIndicator()

Fields

BusyContentProperty

DependencyProperty

Identifies the BusyContent property.

C#
public static readonly DependencyProperty BusyContentProperty

BusyContentTemplateProperty

DependencyProperty

Identifies the BusyContentTemplate property.

C#
public static readonly DependencyProperty BusyContentTemplateProperty

DisplayAfterProperty

DependencyProperty

Identifies the DisplayAfter property.

C#
public static readonly DependencyProperty DisplayAfterProperty

Identifies the IsBusyIndicationVisible dependency property.

C#
public static readonly DependencyProperty IsBusyIndicationVisibleProperty

IsBusyProperty

DependencyProperty

Identifies the IsBusy property.

C#
public static readonly DependencyProperty IsBusyProperty

IsIndeterminateProperty

DependencyProperty

Identifies the IsIndeterminate property.

C#
public static readonly DependencyProperty IsIndeterminateProperty

OverlayStyleProperty

DependencyProperty

Identifies the OverlayStyle property.

C#
public static readonly DependencyProperty OverlayStyleProperty

ProgressBarStyleProperty

DependencyProperty

Identifies the ProgressBarStyle property.

C#
public static readonly DependencyProperty ProgressBarStyleProperty

ProgressValueProperty

DependencyProperty

Identifies the ProgressValue property.

C#
public static readonly DependencyProperty ProgressValueProperty

Properties

Gets or sets the BusyContent property. This is a dependency property.

C#
public object BusyContent { get; set; }

Gets or sets the BusyContentTemplate property. This is a dependency property.

C#
public DataTemplate BusyContentTemplate { get; set; }

Gets or sets the DisplayAfter property. This is a dependency property.

C#
public TimeSpan DisplayAfter { get; set; }

Gets or sets the IsBusy property. This is a dependency property.

C#
public bool IsBusy { get; set; }

Gets or sets the IsBusyIndicationVisible property. This is a dependency property.

C#
public bool IsBusyIndicationVisible { get; }

Gets or sets the IsContentVisible property. This is a dependency property.

C#
protected bool IsContentVisible { get; set; }

Gets or sets the IsIndeterminate property. This is a dependency property.

C#
public bool IsIndeterminate { get; set; }

Gets or sets the OverlayStyle property. This is a dependency property.

C#
public Style OverlayStyle { get; set; }

Gets or sets the ProgressBarStyle property. This is a dependency property.

C#
public Style ProgressBarStyle { get; set; }

Gets or sets the ProgressValue property. This is a dependency property.

C#
public double ProgressValue { get; set; }

Methods

Updates the visual state of the control.

C#
protected virtual void ChangeVisualState(bool useTransitions)
Parameters:useTransitionsbool

Indicates whether transitions should be used.

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call. .

C#
public override void OnApplyTemplate()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when the IsBusyProperty property is changed.

C#
protected virtual void OnIsBusyChanged(DependencyPropertyChangedEventArgs e)
Parameters:eDependencyPropertyChangedEventArgs