-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Update Switch, ImageButton Visual State Example #2765
Conversation
@bhavanesh2001 I'm not convinced that this is required. IIRC, |
@davidbritch Check this comment by @StephaneDelcroix The default Maui template contains a style defined for control (Switch) with visual states defined. While defining our own |
@davidbritch should I close this? |
Not at all! I've just got a few things to check out before dealing with this. |
@davidbritch Ok. I encountered a similar issue with |
Are you able to also update the sample? |
@davidbritch Here's the PR. Also note that since in the Switch demo's the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @bhavanesh2001 - it's much appreciated!
The current example of Visual states doesn't work. Wrapping the
VisualStateGroup
with aVisualStateGroupList
to make the example work.