Home

Awesome

MultipleToogleSwitch

Multiple position Toogle Switch control for Xamarin Forms

This is a ContentView based Control. Requeires - None;

How to use:

<local:MultiToogleSwitch Toggles="{Binding Toggles}" 
                                 SelectedId="{Binding SelectedId, Mode=TwoWay}"
                                 HorizontalOptions="Center"
                                 VerticalOptions="Center"
                                 EvenWidth="True"
                                 FontSize="14"/>
public string[] Toggles { get; set; } = new string[] { "On", "Auto", "Off", "Some" };
public new Color BackgroundColor { get; set; }
public Color SelectedColor { get; set; }
public Color DefaultColor { get; set; }

public Color SelectedBorderColor { get; set; }
public Color DefaultBorderColor { get; set; }
public float CornerRadius { get; set; }
public double FontSize { get; set; }
public string[] Toggles { get; set; } = new string[] { "On", "Auto", "Off"};

public string[] Toggles { get; set; } = new string[] { "On", "Auto", "Off", "Some" };