RadekVyM / SimpleToolkit

SimpleToolkit is a .NET MAUI library of helpers and simple, fully customizable controls, such as SimpleShell - custom Shell implementation that allows you to create unique navigation experiences.
MIT License
445 stars 45 forks source link

Badge on shell content #52

Open raselldev opened 4 months ago

raselldev commented 4 months ago

How to make custom handler to handle badge in shell content?

RadekVyM commented 4 months ago

Hi @raselldev,

there are multiple ways of adding custom badges to tabs in the tab bar. In SimpleShell, no custom handlers are needed. One way is to extend ShellContent with a bindable property for the badge content and bind that property to the badge. I implemented this approach in the Sample.SimpleShellTopBar sample app.