Hi,
I've got a XamWebOutlookBar and I'd like to have the header of the selected group look different from the bottom. In other words, I want the UI element displayed on top of the OutlookBar to look different from the UI element that's displayed under the content on the stack.
I managed to achieve that by using 2 different templates on my OutlookGroup style.
However, my ultimate goal is to be able to display bound data at the top for some headers. It seems I can't do that because of the "magic" the SelectedGroupHeader control does.
Is there a way to achieve what I want?
Could you check this thread, it seems something similar to what you are asking for, I hope it can help you.
Let us know if you still have issues how to achieve your scenario.
Thanks
Thanks, that's nearly everything I wanted. I completely overlooked the fact that I could style the SelectedGroupHeader :(
Now, the only thing I need is to get the data from within the SelectedGroupHeader.Template. I add the data to an attached property to the OutlookGroup.
Now, I'm trying to work out how to refer to it within the DataTemplate of the HeaderTemplate (if at all possible). Any thought on the matter?