sumeet
sumeet

Reputation: 305

Custom Toggle Button using c# code in xamarin forms

I need to create custom toggle button using C# code. Please refer below snap, it should act like a toggle button.

enter image description here

Upvotes: 0

Views: 2733

Answers (2)

Himanshu Dwivedi
Himanshu Dwivedi

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

Ed S
Ed S

Reputation: 140

Take a look at SegmentedButtonGroup in FreshEssentials. It looks like that is what you need.

http://www.michaelridland.com/xamarin/freshessentials-for-xamarin-forms-the-must-have-nuget-for-forms/

Upvotes: 1

Related Questions