Class
RadBusyIndicator

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:

cs-api-definition
[TelerikToolboxCategory("Containers")]
public class RadBusyIndicator : ContentControl

Inheritance: objectRadBusyIndicator

Constructors

RadBusyIndicator()

Initializes a new instance of the RadBusyIndicator class.

Declaration

cs-api-definition
public RadBusyIndicator()

Fields

BusyContentProperty

Identifies the BusyContent property.

Declaration

cs-api-definition
public static readonly DependencyProperty BusyContentProperty

Field Value

DependencyProperty

BusyContentTemplateProperty

Identifies the BusyContentTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty BusyContentTemplateProperty

Field Value

DependencyProperty

DisplayAfterProperty

Identifies the DisplayAfter property.

Declaration

cs-api-definition
public static readonly DependencyProperty DisplayAfterProperty

Field Value

DependencyProperty

IsBusyIndicationVisibleProperty

Identifies the IsBusyIndicationVisible dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsBusyIndicationVisibleProperty

Field Value

DependencyProperty

IsBusyProperty

Identifies the IsBusy property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsBusyProperty

Field Value

DependencyProperty

IsIndeterminateProperty

Identifies the IsIndeterminate property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsIndeterminateProperty

Field Value

DependencyProperty

OverlayStyleProperty

Identifies the OverlayStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty OverlayStyleProperty

Field Value

DependencyProperty

ProgressBarStyleProperty

Identifies the ProgressBarStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty ProgressBarStyleProperty

Field Value

DependencyProperty

ProgressValueProperty

Identifies the ProgressValue property.

Declaration

cs-api-definition
public static readonly DependencyProperty ProgressValueProperty

Field Value

DependencyProperty

Properties

BusyContent

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

Declaration

cs-api-definition
public object BusyContent { get; set; }

Property Value

object

BusyContentTemplate

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

Declaration

cs-api-definition
public DataTemplate BusyContentTemplate { get; set; }

Property Value

DataTemplate

DisplayAfter

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

Declaration

cs-api-definition
public TimeSpan DisplayAfter { get; set; }

Property Value

TimeSpan

IsBusy

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

Declaration

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

Property Value

bool

IsBusyIndicationVisible

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

Declaration

cs-api-definition
public bool IsBusyIndicationVisible { get; }

Property Value

bool

IsContentVisible

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

Declaration

cs-api-definition
protected bool IsContentVisible { get; set; }

Property Value

bool

IsIndeterminate

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

Declaration

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

Property Value

bool

OverlayStyle

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

Declaration

cs-api-definition
public Style OverlayStyle { get; set; }

Property Value

Style

ProgressBarStyle

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

Declaration

cs-api-definition
public Style ProgressBarStyle { get; set; }

Property Value

Style

ProgressValue

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

Declaration

cs-api-definition
public double ProgressValue { get; set; }

Property Value

double

Methods

ChangeVisualState(bool)

Updates the visual state of the control.

Declaration

cs-api-definition
protected virtual void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

Indicates whether transitions should be used.

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

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

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnIsBusyChanged(DependencyPropertyChangedEventArgs)

Called when the IsBusyProperty property is changed.

Declaration

cs-api-definition
protected virtual void OnIsBusyChanged(DependencyPropertyChangedEventArgs e)

Parameters

e

DependencyPropertyChangedEventArgs