Hi, I need to add badges to the tabview headers, this was possible in Xamarin SFTabView by setting HeaderContent like below. How to achieve the same in MAUI?
Xamarin:
<tabView:SfTabItem.HeaderContent>
<Grid>
<LabelText="Chats"
FontSize="14"VerticalOptions="Center"
HorizontalOptions="Center"/>
<FrameCornerRadius="10"
BackgroundColor="Red"
HasShadow="false"
HeightRequest="20"
VerticalOptions="Start"
HorizontalOptions="End"
Padding="5,0"
IsVisible="{Binding HasChats}"
>
<LabelText="{Binding ChatsCount}"
FontSize="12"
TextColor="White"
VerticalOptions="CenterAndExpand"
HorizontalOptions="CenterAndExpand"/>
</Frame>
</Grid>
</tabView:SfTabItem.HeaderContent>
MAUI:
<tabView:SfTabViewBackgroundColor="White"
x:Name="tabView"
TabBarPlacement="Top">
<tabView:SfTabItemHeader="Tab 1">
<tabView:SfTabItem.Content>
<!-- content -->
</tabView:SfTabItem.Content>