Skip to content
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

RadioMenuItem IsChecked doesn't update correctly #129

Closed
pingu2k4 opened this issue Jun 30, 2020 · 1 comment
Closed

RadioMenuItem IsChecked doesn't update correctly #129

pingu2k4 opened this issue Jun 30, 2020 · 1 comment

Comments

@pingu2k4
Copy link

So, I have it working correctly following the sample, but I have an issue with trying to do things in any different way.
I am doing something very similar to the Skins menu items.

With the items source not set, and with the xaml uncommented it works as expected. However, when I comment the xaml out and bind to a BindableCollection in my VM setup as shown, the items appear, and default is selected. However selecting any new item does not deselect the previously selected item.

I debugged in my converter, and the correct values are being compares and it is returning correctly.

I noticed that whilst running snoop, I was unable to turn off the IsChecked property in there.
I also tried, after setting a new skin in the Skin manager on click, manually looping through each element and setting IsChecked to true or false depending on what was required, and that too did not work. Debugging it, it was attempting to do the correct thing however.

So if Default starts selected, then when I click on Forest, both Default and Forest will be selected.

It feels as though its an issue with the group name? Though I have no idea what, it looks like it should all be working correctly, the commented out xaml to me looks identical to the code.

@Kinnara
Copy link
Owner

Kinnara commented Jul 12, 2020

Thanks for the detailed report. It should be fixed now, and a new version will be released very soon.

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

No branches or pull requests

2 participants