New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a sophisticated loading indicator control that provides visual feedback to users during long-running operations. The RadBusyIndicator offers a rich collection of built-in animations and extensive customization options to create engaging loading experiences that keep users informed and engaged while content is being processed.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadBusyIndicator : RadLayout

Inheritance: objectRadLayoutRadBusyIndicator

Derived Classes: TreeViewItemBusyIndicator

Constructors

Initializes a new instance of the RadBusyIndicator class with default settings. Creates a ready-to-use busy indicator with platform-optimized default animation and styling.

C#
public RadBusyIndicator()

Fields

Identifies the AnimationContentColor bindable property.

C#
public static readonly BindableProperty AnimationContentColorProperty

Identifies the AnimationContentHeightRequest bindable property.

C#
public static readonly BindableProperty AnimationContentHeightRequestProperty

Identifies the AnimationContentWidthRequest bindable property.

C#
public static readonly BindableProperty AnimationContentWidthRequestProperty

AnimationTypeProperty

BindableProperty

Identifies the AnimationType bindable property.

C#
public static readonly BindableProperty AnimationTypeProperty

BusyContentProperty

BindableProperty

Identifies the BusyContent bindable property.

C#
public static readonly BindableProperty BusyContentProperty

Identifies the BusyContentTemplate bindable property.

C#
public static readonly BindableProperty BusyContentTemplateProperty

ContentProperty

BindableProperty

Identifies the Content bindable property.

C#
public static readonly BindableProperty ContentProperty

Identifies the ContentUnderOpacity bindable property.

C#
public static readonly BindableProperty ContentUnderOpacityProperty

IsBusyProperty

BindableProperty

Identifies the IsBusy bindable property.

C#
public static readonly BindableProperty IsBusyProperty

Properties

Gets or sets the color of the animation content elements. This property allows you to customize the visual appearance of the loading animation to match your application's theme and branding.

C#
public Color AnimationContentColor { get; set; }

Gets or sets the requested height of the animation content in device-independent units. This property controls the vertical size of the animated loading indicator. Use -1 for automatic sizing based on the animation type.

C#
public double AnimationContentHeightRequest { get; set; }

Gets or sets the requested width of the animation content in device-independent units. This property controls the horizontal size of the animated loading indicator. Use -1 for automatic sizing based on the animation type.

C#
public double AnimationContentWidthRequest { get; set; }

Gets a collection of custom RadAnimation objects used when AnimationType is set to Custom. Add multiple RadAnimation objects to create complex, layered animations with combined effects like rotation, scaling, and translation.

C#
public Collection<RadAnimation> Animations { get; }

Gets or sets the animation style used to display the loading indicator. Choose from 10 built-in animation types (Animation1-Animation10) or use Custom to define your own animations through the Animations collection.

C#
public AnimationType AnimationType { get; set; }

Gets or sets the custom content displayed alongside the loading animation when the indicator is in a busy state. Use this property to show informative messages, progress details, or any custom UI elements during loading operations.

C#
public View BusyContent { get; set; }

BusyContentTemplate

ControlTemplate

Gets or sets the control template used to define the layout and appearance of the busy content. This template provides complete control over how the busy state is presented, allowing for sophisticated loading screens and layouts.

C#
public ControlTemplate BusyContentTemplate { get; set; }

Gets or sets the main content that is displayed when the busy indicator is not in a busy state. This content is automatically managed by the control, being dimmed or hidden based on the IsBusy state and ContentUnderOpacity settings.

C#
public View Content { get; set; }

Gets or sets the opacity level applied to the Content when IsBusy is true. Use values from 0.0 (completely transparent) to 1.0 (fully opaque) to control how much the underlying content is dimmed during loading.

C#
public double ContentUnderOpacity { get; set; }

Gets or sets a value indicating whether the busy indicator is currently in a busy state. When true, the loading animation and busy content are displayed while the main content is dimmed or hidden according to ContentUnderOpacity.

C#
public bool IsBusy { get; set; }

Methods

CreateLayoutManager()

ILayoutManager

Creates the layout manager for this layout.

C#
protected override ILayoutManager CreateLayoutManager()
Returns:

ILayoutManager

An instance of RadLayoutManager that manages the layout of child elements.

Overrides: RadLayout.CreateLayoutManager()

C#
protected override void OnBindingContextChanged()