I've got a bunch of databound switches on one of my forms:
<Label Grid.Column="0" Grid.Row="0" Text="option 1" VerticalOptions="Center" FontSize="Large" HorizontalOptions="Start"/>
<Switch Grid.Column="1" Grid.Row="0" IsToggled="{Binding Options.One, Mode=TwoWay}" HorizontalOptions="End"/>
<Label Grid.Column="0" Grid.Row="1" Text="option 2" VerticalOptions="Center" FontSize="Large" HorizontalOptions="Start"/>
<Switch Grid.Column="1" Grid.Row="1" IsToggled="{Binding Options.Two, Mode=TwoWay}" HorizontalOptions="End"/>
<Label Grid.Column="0" Grid.Row="2" Text="option 3" VerticalOptions="Center" FontSize="Large" HorizontalOptions="Start"/>
<Switch Grid.Column="1" Grid.Row="2" IsToggled="{Binding Options.Three, Mode=TwoWay}" HorizontalOptions="End"/>
<Label Grid.Column="0" Grid.Row="3" Text="option 4" VerticalOptions="Center" FontSize="Large" HorizontalOptions="Start"/>
<Switch Grid.Column="1" Grid.Row="3" IsToggled="{Binding Options.Four, Mode=TwoWay}" HorizontalOptions="End"/>
<Label Grid.Column="0" Grid.Row="4" Text="option 5" VerticalOptions="Center" FontSize="Large" HorizontalOptions="Start"/>
<Switch Grid.Column="1" Grid.Row="4" IsToggled="{Binding Options.Five, Mode=TwoWay}"/>
Functionally, this is working as expected. However, I'm seeing a bit of an oddity with the UI...
If the binding source provides "true" at the point the page is displayed, the switch control looks as I'd expect - nice and bright, no matter how many times I toggle it.
However, if the binding source provides "false", and you then toggle the switch to "on", then it looks faded - almost as if it's disabled, even though its fully usable.
As I say, the functionality behind this works - my bound properties are getting updated correctly - it's just the visual appearance that's bugging me :)
In this picture, all the bound properties for odd-numbered options was set to "true", whereas the bound properties for the even-numbered ones were set "false".
I've then toggled each option off and on a few times: