WPF XAML – Grouping Radio Buttons

c++radio-buttonwpfxaml

I have six radio buttons in XAML, and I would like to create two groups. It seems that WPF has no radiobutton group element, so how can I do this?

Best Answer

You have to specify a GroupName for the element.

 <RadioButton GroupName="Group1"/>
Related Question