Switch does not update when setting IsToggled from code #5226
Labels
area-controls-switch
Switch
fixed-in-6.0.300-rc.1
Look for this fix in 6.0.300-rc.1!
high
It doesn't work at all, crashes or has a big impact.
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Description
I have a Switch control on a ContentPage, and it keeps showing its original state, when I change IsToggled from code.
Steps to Reproduce
MainPage.xaml
, like so:MainPage.xaml.cs
:Version with bug
Preview 13 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows and Android
Affected platform versions
Windows 10 Machine and Android Pixel 5 - API 30 emulator
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: