Hi,
I notice there is an OutlookBarCommands.ShowPopupCommand, but was looking to do the opposite.
In MS Outlook, when the NavigationPane is collapsed, you can click on the collapsed bar, to show the active group in a popup. If you do this whilst viewing mail items, then click on a different folder in the popup, the main display gets filtered by the selected folder AND the popup automatically collapses again.
Is there any way to achieve this currently? Or would this have to be added as a new feature? (I am using an old version 10.2.20102.2045 - appologies if this has been implemented since).
Regards,
Dave
I tested your scenario, placed a TextBlock in the Group's content and when the popup was opened and I clicked the text from the TextBlock the popup was hidden - the OutlookBar seems to be doing that out of the box. Isn't that working for your case? Can you provide more information about what you have in your OutlookBarGroup Content?
Thanks,
Hi Stoimen,
Sure - we are placing a View in the content, comprising a ListBox. The SelectedItem of the ListBox is bound to a ViewModel property. When this property value is set (i.e. the ListBox selection changes), code is executed that opens up the correct document in the UI. This works great and looks like this:
However when the OutlookBar is collapsed, changing the selection in the ListBox does correctly open the new document, but does not collapse the group - not that I really expected it to. I had expected to find a method/property/command that would let me do this in code though.