Hi David,
Thanks for contacting Syncfusion support.
You can achieve this requirement in two ways.
To hide the Badge, you can set empty string to BadgeText property as shown in the below code.
<badge:SfBadgeView BadgeText="" HorizontalOptions="Center" VerticalOptions="Center" Grid.Column="0">
<badge:SfBadgeView.Content>
<Button Text="Primary" WidthRequest="120" HeightRequest="60"/>
</badge:SfBadgeView.Content>
</badge:SfBadgeView> |
Another way to hide the Badge, by setting the BadgeIcon property as None without specifying the BadgeText as shown in the below code.
Note: By default, BadgeIcon value is None.
<badge:SfBadgeView.BadgeSettings>
<badge:BadgeSetting BadgeIcon="None" BadgePosition="TopRight"/>
</badge:SfBadgeView.BadgeSettings> |
We have created a simple sample to change the visibility of Badge. Please find the sample from below location.
Output Screenshot:
Regards,
Ramya.