Reputation: 305
I need to create custom toggle button using C# code. Please refer below snap, it should act like a toggle button.
Upvotes: 0
Views: 2733
Reputation: 8174
If you don't want to use the plugin, you need to perform custom rendering. https://github.com/chrispellett/Xamarin-Forms-SegmentedControl
The above github repository has the source code for custom rendering for segmented button in andorid
and ios
only not for windows.
Upvotes: 2
Reputation: 140
Take a look at SegmentedButtonGroup in FreshEssentials. It looks like that is what you need.
Upvotes: 1