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