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
close icon

Show badge in Xamarin Page Tabbed

Hi,

i've this page:

<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"

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

             x:Class="FinimpresaMobile.TabbedPage1"

             xmlns:local="clr-namespace:Finimpresa"

             NavigationPage.HasNavigationBar="False"

             NavigationPage.HasBackButton="False"

             xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"

             android:TabbedPage.ToolbarPlacement="Bottom">

    <TabbedPage.ToolbarItems>

        <ToolbarItem Name="MenuItem1" Order="Primary" Icon="user.png" Text="Item 2" Priority="1" Clicked="MenuItem1_Activated"/>

    </TabbedPage.ToolbarItems>

    <TabbedPage.Children>

        <NavigationPage Title="Imprese" IconImageSource="Home.png">

            <x:Arguments>

                <local:Home />

            </x:Arguments>

        </NavigationPage>

        <NavigationPage Title="News" IconImageSource="report.png">

            <x:Arguments>

                <local:Home />

            </x:Arguments>

        </NavigationPage>

        <NavigationPage Title="Notifiche" IconImageSource="bell.png">

            <x:Arguments>

                <local:Home/>

            </x:Arguments>

        </NavigationPage>

    </TabbedPage.Children>

</TabbedPage>


It's possible to insert your sfbadgev on this type of page?


1 Reply

ET Eswaran Thirugnanasambandam Syncfusion Team October 20, 2022 12:15 PM UTC

We hope your requirement is to add SfBadgeView in TabbedPage ToolBartem. The ToolBarItem has only support to add icon and text as you can see in the below documentation link,

https://learn.microsoft.com/en-us/dotnet/api/xamarin.forms.toolbaritem?view=xamarin-forms


Since SfBadgeView is a view, it cannot be added in the TabbedPage ToolBartem.


If your requirement is different from this, Please revert with more details about your requirements. It will help us provide an appropriate solution at the earliest.


Loader.
Live Chat Icon For mobile
Up arrow icon