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:
[TelerikToolboxCategory("Containers")]
public class RadBusyIndicator : ContentControl
Inheritance: objectRadBusyIndicator
Constructors
Initializes a new instance of the RadBusyIndicator class.
public RadBusyIndicator()
Fields
BusyContentProperty
DependencyProperty
Identifies the BusyContent property.
public static readonly DependencyProperty BusyContentProperty
BusyContentTemplateProperty
DependencyProperty
Identifies the BusyContentTemplate property.
public static readonly DependencyProperty BusyContentTemplateProperty
DisplayAfterProperty
DependencyProperty
Identifies the DisplayAfter property.
public static readonly DependencyProperty DisplayAfterProperty
IsBusyIndicationVisibleProperty
DependencyProperty
Identifies the IsBusyIndicationVisible dependency property.
public static readonly DependencyProperty IsBusyIndicationVisibleProperty
IsBusyProperty
DependencyProperty
Identifies the IsBusy property.
public static readonly DependencyProperty IsBusyProperty
IsIndeterminateProperty
DependencyProperty
Identifies the IsIndeterminate property.
public static readonly DependencyProperty IsIndeterminateProperty
OverlayStyleProperty
DependencyProperty
Identifies the OverlayStyle property.
public static readonly DependencyProperty OverlayStyleProperty
ProgressBarStyleProperty
DependencyProperty
Identifies the ProgressBarStyle property.
public static readonly DependencyProperty ProgressBarStyleProperty
ProgressValueProperty
DependencyProperty
Identifies the ProgressValue property.
public static readonly DependencyProperty ProgressValueProperty
Properties
Gets or sets the BusyContent property. This is a dependency property.
public object BusyContent { get; set; }
BusyContentTemplate
DataTemplate
Gets or sets the BusyContentTemplate property. This is a dependency property.
public DataTemplate BusyContentTemplate { get; set; }
Gets or sets the DisplayAfter property. This is a dependency property.
public TimeSpan DisplayAfter { get; set; }
Gets or sets the IsBusy property. This is a dependency property.
public bool IsBusy { get; set; }
Gets or sets the IsBusyIndicationVisible property. This is a dependency property.
public bool IsBusyIndicationVisible { get; }
Gets or sets the IsContentVisible property. This is a dependency property.
protected bool IsContentVisible { get; set; }
Gets or sets the IsIndeterminate property. This is a dependency property.
public bool IsIndeterminate { get; set; }
OverlayStyle
Style
Gets or sets the OverlayStyle property. This is a dependency property.
public Style OverlayStyle { get; set; }
ProgressBarStyle
Style
Gets or sets the ProgressBarStyle property. This is a dependency property.
public Style ProgressBarStyle { get; set; }
Gets or sets the ProgressValue property. This is a dependency property.
public double ProgressValue { get; set; }
Methods
Updates the visual state of the control.
protected virtual void ChangeVisualState(bool useTransitions)
Indicates whether transitions should be used.
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call. .
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called when the IsBusyProperty property is changed.
protected virtual void OnIsBusyChanged(DependencyPropertyChangedEventArgs e)