![Avatar](https://secure.gravatar.com/avatar/76edf11df9a1a4f29520120531d0164d.jpg?s=64&d=identicon&r=g)
I have a radio button defined in a ribbon tab:
<ribbon:RadioButton Label="Prepend" Click="OnRadioButtonClick" />
private void OnRadioButtonClick( object sender, RoutedEventArgs e )
{
RibbonControls.RadioButton clickedRadioButton = sender as RibbonControls.RadioButton;
clickedRadioButton.IsChecked = true;
...
...
}
Yet, when I click it, it does not get selected. The simple behavior I'm wanting is I have a group of 3 radio buttons and I want them to act as a radio button group, i.e. only one can be selected at a time.
<ribbon:RadioButton Label="Prepend" Click="OnRadioButtonClick" />
private void OnRadioButtonClick( object sender, RoutedEventArgs e )
{
RibbonControls.RadioButton clickedRadioButton = sender as RibbonControls.RadioButton;
clickedRadioButton.IsChecked = true;
...
...
}
Yet, when I click it, it does not get selected. The simple behavior I'm wanting is I have a group of 3 radio buttons and I want them to act as a radio button group, i.e. only one can be selected at a time.