You want to bind to the Checked event of the radio buttons. The Checked event is a routed event, so you can bind it in the RibbonGroup element itself: r:RibbonGroup x:Name="ribbonGroup" Header="Ribbon Group" RadioButton. Checked="YourEventHandler"> Source property is a reference to the radio button that was checked.
You want to bind to the Checked event of the radio buttons. The Checked event is a routed event, so you can bind it in the RibbonGroup element itself: In the event handler the RoutedEventArgs. Source property is a reference to the radio button that was checked.
Thanks for the quick reply. :) I did try that but I can't seem to access r:RibbonRadioButton. Checked it doesn't show up in intellisense.
There are other contorls but not RibbonRadioButton. I actually found a work around. What I did was create a command and set the command on every RibbonRadioButton in my Group so they all execute the same command and in the command handler event that the command executes I just do what I need to do and the e.
OriginalSource object is my radio button. – Iffy Feb 20 at 20:16 My apologies... the event is inherited from the stock RadioButton. See my edit.
– mancaus Feb 21 at 14:05.
I'm using a WPF Ribbon control and specifically a RibbonGroup control within that. The xaml for the RibbonGroup that I am using is below. Now the issue I am having is how can I identify when a selectio is changed in this group.
So if I selected Item 2 or Item 3 how can I be notifified which actual item is selected. Is there some sort of changed event on the RibbonGroup control that I can bind to? I have looked on the web but not really had any luck I would mega appreciate it if anyone can point me in the correct direction.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.