Completed
Last Updated: 07 Jun 2023 07:41 by ADMIN
Release 5.2.0
John
Created on: 01 Mar 2023 11:07
Category: BusyIndicator
Type: Bug Report
1
BusyIndicator: The busy content is not updated when IsBusy and BusyContent are dynamically changed
The content in BusyIndicator control is not updated when the IsBusy property is dynamically changed.


<telerik:RadBusyIndicator x:Name="BusyTest"
                            IsBusy="{Binding IsBusy, Mode=TwoWay}"
                            AnimationContentColor="DodgerBlue"
                            AnimationContentHeightRequest="40"
                            AnimationContentWidthRequest="40"
                            VerticalOptions="Center"
                            HorizontalOptions="Center"
                            AnimationType="Animation6">
    <telerik:RadBusyIndicator.Content>
        <Label Text="{Binding LabelText, Mode=TwoWay}" TextColor="Blue" FontSize="16"/>
    </telerik:RadBusyIndicator.Content>
    <telerik:RadBusyIndicator.BusyContent>
        <Label Text="{Binding LabelText, Mode=TwoWay}" 
                TextColor="Red" FontSize="20"/>
    </telerik:RadBusyIndicator.BusyContent>
</telerik:RadBusyIndicator>

Workaround:

set the text directly to the BusyContent:

<telerik:RadBusyIndicator x:Name="BusyTest"
                            IsBusy="{Binding IsBusy, Mode=TwoWay}"
                            AnimationContentColor="DodgerBlue"
                            AnimationContentHeightRequest="40"
                            AnimationContentWidthRequest="40"
                            VerticalOptions="Center"
                            HorizontalOptions="Center"
                            AnimationType="Animation6">
    <telerik:RadBusyIndicator.Content>
        <Label Text="{Binding LabelText, Mode=TwoWay}" TextColor="Blue" FontSize="16"/>
    </telerik:RadBusyIndicator.Content>
    <telerik:RadBusyIndicator.BusyContent>
        <Label Text="Loading....." 
                TextColor="Red" FontSize="20"/>
    </telerik:RadBusyIndicator.BusyContent>
</telerik:RadBusyIndicator>


 

0 comments