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

Problem with style radiobutton, Cannot find resource named 'RadioButtonOuterEllipseFill' #572

Open
JMarcuss opened this issue Oct 10, 2023 · 0 comments

Comments

@JMarcuss
Copy link

It already happens whenever I have a stackpanel and try to add a radiobutton from code-behind.

XAML:

C#:
RadioButton radioButton = new RadioButton();
stackpanel.Children.Add(radioButton);

Whenever I add it throught XAML alone it works, but only when the radiobutton isn't encapsulated within another component (like a groupbox or a stackpanel or a listview).

I want to be able to select multiple radiobuttons, that's why I want them in a listbox/view or a stackpanel.

Can anyone help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant