InfoBadge
Description
InfoBadge is a WPF ContentControl that displays a compact dot, number, or icon.
Example usage
- XAML
- C#
<fluence:InfoBadge Value="12" />
var badge = new Fluence.Wpf.Controls.InfoBadge { Value = 12 };
Key properties
| Property | Default | Purpose |
|---|---|---|
Value | -1 | Shows a dot at -1 or a numeric value. |
BadgeStyle | Attention | Sets the appearance: Attention, Informational, Success, Critical, or Caution. |
IconSource | null | Displays an icon instead of the value text. |
State and behavior
Value and BadgeStyle change the compact status shown beside a destination.
Use NavigationViewItem.InfoBadge to attach a badge to a navigation destination.