-
Notifications
You must be signed in to change notification settings - Fork 775
Description
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/1334606237820985345
I 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
- RadioButtons doesn't respect BorderThickness or BorderBrush property RadioButtons doesn't respect BorderThickness or BorderBrush property #3247
- Add Layout property to RadioButtons Proposal: Add Layout property to RadioButtons #2084 or Add Orientation Property to RadioButtons Proposal: Add Orientation Property to RadioButtons #3501
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
