We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

No Syncfusion control works

Hello,

I have integrated Syncfusion in VS 2022 and VS2022 Preview, both satisfying software requirements.

My app compliles but not a single control works.

in this XAML code:

<?xml version="1.0" encoding="utf-8" ?>

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"

             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"

             x:Class="KnifeMaui.Views.LoadingPage"

             xmlns:core="clr-namespace:Syncfusion.Maui.Core;assembly=Syncfusion.Maui.Core"

             Title="{Binding Title}">

    <ContentPage.Content>

        <VerticalStackLayout

            Spacing="25"

            Padding="30,0"

            VerticalOptions="Center">

            <ActivityIndicator Color="Orange" IsRunning="True" HeightRequest="50" WidthRequest="50"

                               IsVisible="{Binding Checking}" />


            <core:SfBusyIndicator x:Name="bi" IndicatorColor="White" IsRunning = "True"

AnimationType="LinearMaterial"/>

        </VerticalStackLayout>

    </ContentPage.Content>

</ContentPage>

only the Activity Indicator is shown. SfBusyIndicator is not.


3 Replies

SR Shivani Ramakrishnan Syncfusion Team March 27, 2023 06:33 AM UTC

Hi Fabrizio,

 

Query:  SfBusyIndicator is not showing in .NET MAUI
To resolve your issue " SfBusyIndicator is not showing in .NET MAUI", kindly use HeightRequest and WidthRequest in the control to display the content on the page. Here is code snippet.

 

<VerticalStackLayout

 

            Spacing="25"

 

            Padding="30,0"

 

            VerticalOptions="Center">

 

            <ActivityIndicator Color="Orange" IsRunning="True" HeightRequest="50" WidthRequest="50" IsVisible="{Binding Checking}" />

 

            <core:SfBusyIndicator x:Name="bi" IndicatorColor="Blue" HeightRequest="50" WidthRequest="50" IsRunning = "True" AnimationType="LinearMaterial"/>

 

        </VerticalStackLayout>

 

 

We have attached sample for your reference. Kindly refer the sample and please let us know if you need any other details.

 

Regards,
Shivani



Attachment: SampleBusyIndicator_b81b2995.zip


RC Rogerio C Mauri October 7, 2023 06:03 PM UTC

But, the title is not displayed.

Modify the MainPage file as below.


<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:core="clr-namespace:Syncfusion.Maui.Core;assembly=Syncfusion.Maui.Core"
             x:Class="SampleBusyIndicator.MainPage">

    <ContentPage.Content>
        <ScrollView>
            <StackLayout>
                <ActivityIndicator Color="Orange" IsRunning="True" HeightRequest="50" WidthRequest="50" IsVisible="{Binding Checking}" />

                <core:SfBusyIndicator x:Name="bi" IndicatorColor="Blue" HeightRequest="50" WidthRequest="50" IsRunning = "True" AnimationType="Cupertino" Title="Loading..."/>
            </StackLayout>
        </ScrollView>
    </ContentPage.Content>

</ContentPage>







BV Brundha Velusamy Syncfusion Team October 9, 2023 12:47 PM UTC

Hi Fabrizio,


We suggest you to increase the HeightRequest of the SfBusyIndicator control to overcome the reported issue "The title is not displayed." as demonstrated in the provided code snippet. We have modified the sample based on this and attached the sample for your reference. Please check the attached sample and let us know if you need any other details.


Please refer the below code snippet for this

<ContentPage.Content>

    <ScrollView>

        <StackLayout>

            <ActivityIndicator Color="Orange" IsRunning="True"

                               HeightRequest="50"

                               WidthRequest="50"

                               IsVisible="{Binding Checking}" />

 

            <core:SfBusyIndicator x:Name="bi" IndicatorColor="Blue"

                                  WidthRequest="100"

                       HeightRequest="110"

                                  IsRunning = "True"

                       AnimationType="Cupertino"

                                  Title="Loading..."/>

        </StackLayout>

    </ScrollView>

</ContentPage.Content>


Regards,

Brundha V


Attachment: SampleBusyIndicator_4184d8d7.zip

Loader.
Live Chat Icon For mobile
Up arrow icon