Ribbon v3.0 problem with checkboxes and radiobuttons

Ribbon for WPF Forum

Posted 16 years ago by Brad Daszynski
Version: 3.0.0400
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.

Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Brad,

Thanks for the post. In the click of the radio button we were raising the Click event and then toggling it if there is no command assigned. However it should have been switched so it toggles first and the raises the Click event. This change has been made and we'll try and post it ASAP.

Actipro Software Support

The latest build of this product (v24.1.2) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.