[Bug] InfoBadge losing style when binding to Appearance
Check the following items
- [x] I have looked up relevant Issue
Description of the issue
If we hardcode the Appearance style property in the axaml, it works just fine.
<suki:InfoBadge Appearance="Error" Header="{ Binding TypeName }" CornerRadius="5" />
But If we bind to it directly or via a Converter, the background is lost (transparent) and only text is shown.
<suki:InfoBadge Appearance="{Binding TypeName, Converter={StaticResource BadgeColorLogTypeConverter}}" Header="{ Binding TypeName }" CornerRadius="5" />
or
<suki:InfoBadge Appearance="{Binding MessageType}" Header="{ Binding TypeName }" CornerRadius="5" />
The Converter does return value of the enum type NotificationType that Appearance property expects. Same with MessageType as an example.
Also, the Visual Tree shows that the correct Appearance type is set, but UI does not reflect that.
Package Version
6.0.3
Environment
macos 26 Tahoe using Rider
Expected Behavior
I expected that InfoBadge would show correct styling when binding to the Appearance property.
Reproduction
Bind to the Appearance property of the InfoBadge control.
Additional Information
No response