-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RadioButtons Style Improvements [Issue Collection] #3759
Comments
This is awesome! retemplating is great when it works. hopefully we can resolve these styling issues. |
I want the RadioButtons to have animations, see my mock-up video https://twitter.com/fonssonnemans/status/1334816598599880705 |
I think its probably difficult to get this style of animation with a simple retemplate of RadioButtons... You might be able to do it with a new VSM group and calling go to state yourself in the checked/unchecked handlers of retemplated toggle switches you put as children of the RadioButtons. Seems tricky but maybe possible. |
We have recently published the new Segmented control
More info here: CommunityToolkit/Labs-Windows#392 TokenView
More info here: CommunityToolkit/Labs-Windows#427 |
Describe the bug
I was trying to see if the
RadioButtons
control could be re-styled to support the Segmented Control scenario (#2310) as asked by @sonnemaf here on Twitter: https://twitter.com/fonssonnemans/status/1334606237820985345I was able to get close from a style perspective (haven't tried functionality in terms of
SelectedItem
):But trying to re-style RadioButtons as painful due to the following set of issues:
Linked Issues
TO DO
Should test out how re-styling works with selection to see if further issues need to be collected here. I was able to just set
SelectedIndex
on the RadioButtons and it seemed to surprisingly set the ToggleButton state, so maybe there's not much to do here?Have my test work in a gist here: https://gist.github.com/michael-hawker/06bda503efa14fbb2a84896643c21959
The text was updated successfully, but these errors were encountered: