Skip to content

Adding VisualStateGroupList for Switch Visual State examples#579

Merged
davidbritch merged 1 commit intodotnet:mainfrom
bhavanesh2001:visualstategroupList_switch
Feb 11, 2025
Merged

Adding VisualStateGroupList for Switch Visual State examples#579
davidbritch merged 1 commit intodotnet:mainfrom
bhavanesh2001:visualstategroupList_switch

Conversation

@bhavanesh2001
Copy link
Contributor

As discussed here. It's ideal to use VisualStateGroupList whenever we are defining our own Visual states. Since default MAUI template comes with defined style for Switch.

@davidbritch
Copy link
Contributor

Thanks for this @bhavanesh2001 - I hadn't realised that Styles.xaml wasn't consumed in this sample. That explains why I was convinced that VisualStateGroupList wasn't required.

Copy link
Contributor

@davidbritch davidbritch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidbritch davidbritch merged commit 714656a into dotnet:main Feb 11, 2025
3 checks passed
@bhavanesh2001 bhavanesh2001 deleted the visualstategroupList_switch branch February 11, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants