Hello,
I was wondering if it were possible to change the selected group once it has been hidden by the NavigationPaneOptionsControl. For example, if the first group is selected then I then go and hide that group through the NavigationPaneOptionsControl is it possible to change the selection to the second group. I believe this was the behaviour in the WinForms UltraExplorerBar is it possible to replicate this behaviour in the xamOutlookBar? Currently, the selected group remains so even though it has been hidden.
Many thanks for any responses.
Hello Hai,
Thank you for your post. I have been looking into it and I can suggest you see the sample in the Samples Browser under xamOutlookBar \ Editing & Selection \ Updating or Removing the Selected Group section, where there is a sample showing how to remove and select groups by code. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Thank you for your reply, what I am trying to do though is change the selected group once it has been hidden in the Navigation Pane Options. For example, in the Updating or Removing the Selected Group sample.
The calender group remains selected even though it is no longer visible in the groups area. Is there an event I can hook into once it has been hidden by the Navigation Pane Options dialog? What I am trying to do is simulate the behaviour of the UltraExplorerBar where it would select the next group item when the current selected group is hidden.
Thank you
I have created a sample project for you with the functionality you want. Basically I created a Style for the OutlookBarGroup and handled its Loaded event. In its handler I handle the ProeprtyChanged event. In its handler I check if the ProeprtyName is Visibility and if it is I make the next Group selected and if it is the last group I make the previous one selected.Please let me know if this helps you or you have further questions on this matter.