UI for .NET MAUI
The .NET MAUI Segmented control allows users to select between two or more mutually exclusive options. The control itself is a set of linear segments with the same size, each of which has the capabilities of a button. Just like a button, each segment can contain text or an image.
Whenever you need to disable a segment, whether one that is currently selected or an option not currently available to the user, you can easily do so with the help of a single method.
See the .NET MAUI Segmented Control documentation: Disabled Segments
When an item is selected, the Segmented Control exposes SelectionChanged event, offering developers an easy way to introduce custom code or logic for the selected item.
See the .NET MAUI Segmented Control documentation: Selection
Every segment can be displayed with an image or with text and developers can customize the text and background colors of each segment based on the design requirements.