BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi, I've set up a style for the badgeview but when set to the Style of the SfBadgeView control it just defaults to it's base style. Does the badgview support attaching a preset style?
<Style x:Key="BadgeStyle" TargetType="sfcore:SfBadgeView">
<Setter Property="BadgeSettings">
<Setter.Value>
<sfcore:BadgeSettings
CornerRadius="100"
StrokeThickness="0"
FontAttributes="Bold"
BadgeAlignment="End"
FontSize="8"
Position="TopRight"
TextColor="White"
Background="#7C8CA7"/>
</Setter.Value>
</Setter>
</Style>
Then I set it in the view :
<sfcore:SfBadgeView Style="{StaticResource BadgeStyle}"
but it never takes on the style, setting the style directly in the view works though?
Regards
Shaun
Hi Shaun,
Currently, we are working on the reported query on high priority and we will let you know the details on Jan 9th, 2023 . We appreciate your patience until then.
Regards,
Shivani
Hi Shaun,
We have checked the reported issue "Style not working for BadgeSettings property in SfBadgeView". We have checked the same on our side and the issue was reproduced. We have confirmed this as a bug and logged a defect report. You can track the status of the bug from the below link.
We will provide a patch for this issue on 23rd January, 2023. We appreciate your patience until then.
Note: The provided feedback link is private, and you need to log in to view this feedback.
If you have any more specifications/precise replication procedures or a scenario to be tested, you can add them as a comment in the portal.
Regards,
Shivani
Hi Shaun,
We have fixed the reported issue “Style not working for BadgeSettings property in SfBadgeView". Currently, the patch was generated in the 20.4.0.44 version. Please get the custom patch NuGet from the attachment.
Please note that we have created this patch for version 20.4.0.44 specifically, to resolve the issue reported in this ticket. If you have received other patches for the same version for other products, please apply all patches in the order received.
Note: Please refer to the below link to apply the custom patch,
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache
We will include the fix in our upcoming weekly release on 24 January 2023.
Disclaimer: The inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and work reprioritization.