Skip to content

Add InfoBadge for NavigationViewItems #798

@Porterbg

Description

@Porterbg

Is your feature request related to a problem? Please describe

Could you implement InfoBadge in buttons for NavigationViewItems?
You can find it in the WinUI 3 sample app.

Describe the solution you'd like

Example usage

<NavigationViewItem x:Name="InboxPage" Content="Inbox" Icon="Mail">
    <NavigationViewItem.InfoBadge>
        <InfoBadge x:Name="infoBadge1" Value="5" Opacity="{x:Bind InfoBadgeOpacity, Mode=OneWay}"/>
    </NavigationViewItem.InfoBadge>
</NavigationViewItem>

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions