I have this requirement that needs to have a toggle button which will switch to two different places. It looks something like this:
I've been trying to look for a control but it only shows RadioButtonGroup
or RadioButton
. Another suggestion is a Switch
but it doesn't fit a requirement.
Any suggestions which I can do in order to make a toggle button group?
Just as Json said, you can create a custom SegmentedControl by yourself.
For this, you can refer to code SegmentedControl.
Though it is based on Xamarin.Form, but it is also apply to Maui.
You can also achieve this by creating a
ContentView
just as Jason said here. Or use maui-segmented-control of syncfusion.