syncfusion-wpf-badge — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited syncfusion-wpf-badge (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill when you need to:
The Syncfusion WPF Badge (SfBadge) is a notification component used to display counts, status, or alerts on other UI elements. Common use cases include:
📄 Read: references/getting-started.md
📄 Read: references/alignment-positioning.md
📄 Read: references/customization.md
📄 Read: references/content-animation.md
📄 Read: references/appearance-features.md
<!-- Basic badge on a button -->
<Button Width="100" Height="50" Content="Inbox">
<notification:SfBadge.Badge>
<notification:SfBadge
Content="10"
Fill="Success"
Shape="Oval"
x:Name="badge"/>
</notification:SfBadge.Badge>
</Button>// C# equivalent
SfBadge sfBadge = new SfBadge();
sfBadge.Name = "badge";
sfBadge.Content = "10";
sfBadge.Fill = BadgeFill.Success;
sfBadge.Shape = BadgeShape.Oval;
Button button = new Button();
button.Width = 100;
button.Height = 50;
button.Content = "Inbox";
SfBadge.SetBadge(button, sfBadge);Position badges in specific corners with alignment properties:
<!-- Top-right corner (default) -->
<notification:SfBadge
HorizontalAlignment="Right"
VerticalAlignment="Top"
Content="5"/>
<!-- Bottom-left corner -->
<notification:SfBadge
HorizontalAlignment="Left"
VerticalAlignment="Bottom"
Content="3"/>Enable animations when badge content changes:
<notification:SfBadge
AnimationType="Scale"
Content="{Binding UnreadCount}"
Fill="Error"/>Combine colors, shapes, and text formatting:
<notification:SfBadge
Fill="Information"
Shape="Ellipse"
FontSize="16"
FontStyle="Italic"
Content="NEW"/>Display badges in ListView with conditional visibility:
<ListView ItemsSource="{Binding MailItems}">
<ListView.ItemTemplate>
<DataTemplate>
<Grid>
<TextBlock Text="{Binding ItemName}"/>
<notification:SfBadge
Content="{Binding UnreadCount}"
Visibility="{Binding HasMessages, Converter={StaticResource BoolToVisibilityConverter}}"
Shape="Oval"/>
</Grid>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>| Property | Default | Purpose |
|---|---|---|
Content | null | Badge display text/value |
Fill | Accent | Predefined color state (Success, Error, Warning, etc.) |
Shape | Oval | Badge shape (Oval, Rectangle, Ellipse, None, Custom) |
HorizontalAlignment | Right | Horizontal position (Left, Center, Right, Stretch) |
VerticalAlignment | Top | Vertical position (Top, Center, Bottom, Stretch) |
HorizontalAnchor | Center | Anchor mode (Inside, Center, Outside, Custom) |
VerticalAnchor | Center | Anchor mode (Inside, Center, Outside, Custom) |
AnimationType | None | Animation on content change (Scale, Opacity, None) |
Background | null | Custom background color (overrides Fill) |
Foreground | null | Custom text color |
FontSize | 14 | Text size in pixels |
Opacity | 1 | Transparency (0-1 range) |
Visibility | Visible | Show/hide badge (Visible, Collapsed) |
Display badge showing count of unread messages on an inbox button with animation on update.
Small colored badge on user avatar (green for online, red for offline) using custom positioning.
Red or orange badge on form controls to indicate validation errors or warnings.
Update badge content from data binding as notifications arrive, with Scale animation effect.
Show different badge styles (color, shape, content) based on application state or user role.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.