New to Telerik UI for .NET MAUI? Start a free 30-day trial

.NET MAUI BusyIndicator Toolbar Item

Add busy indicators in the toolbar by using the BusyIndicatorToolbarItem.

The available configuration property is:

  • IsBusy(bool)—Specifies whether the busy indicator is busy.

Styling

You can style the BusyIndicatorToolbarItem by using the Style property. The target type of the property is BusyIndicatorToolbarItemView.

In addition, all properties that are available for customizing and styling the RadBusyIndicator are also applicable for BusyIndicatorToolbarItem.

The following example demonstrates how to style the BusyIndicatorToolbarItem.

1. The style applied in the resources:

<Style TargetType="telerik:RadBusyIndicator" x:Key="busy">
    <Setter Property="AnimationContentColor" Value="Red"/>
    <Setter Property="AnimationType" Value="Animation3"/>
</Style>

<Style TargetType="telerik:BusyIndicatorToolbarItemView" x:Key="busyStyle">
    <Setter Property="BusyIndicatorStyle" Value="{StaticResource busy}"/>
</Style>

2. The BusyIndicatorToolbarItem definition:

<telerik:BusyIndicatorToolbarItem IsBusy="True" Style="{StaticResource busyStyle}"/>

See Also

In this article