Hello, I can attach to SelectedGroupChanged event of xamOutlookBar. But I need a click event for the SelectedGroup of xamOutlookBar. When I click the SelectedGroup this event should be fire. Can I do that or do you have some other workarounds?
ControlOutlookBar.SelectedGroupChanged += ControlOutlookBar_SelectedGroupChanged;
private void ControlOutlookBar_SelectedGroupChanged(object sender, RoutedEventArgs e)
{
... this is ok.
}
ControlOutlookBar.SelectedGroupClick ??? ---I need this
note: ControlOutlookBar.SelectedGroup.MouseDown and ControlOutlookBar.SelectedGroup.PreviewMouseDown and ControlOutlookBar.SelectedGroup.GotFocus do not fire.
Hello,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
It Works fine, but when I add a SelectedGroupChanged event, this new event does not fire.
<ig:XamOutlookBar SelectedGroupChanged="XamOutlookBar_SelectedGroupChanged_1" Height="280" VerticalAlignment="Top" Width="144">
private void OutlookBarGroup_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { OutlookBarGroup group = sender as OutlookBarGroup;
//Enters here and finishes working
private void XamOutlookBar_SelectedGroupChanged_1(object sender, RoutedEventArgs e) {
//Can not reach here
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
I used PreviewMouseLeftButtonUp event and it Works fine now. Thank you.