I found a reproducable Problem when using the GroupsSource on the XamOutlookBar:
Now the unselected Group is drawn incorrectly, as you can see on the screenshot. The Text is missing (the same happens for SmallImage if set).
Is something wrong with my Style, or is this an issue with the XamOutlookBar? This only happens if I uncheck a Group in the Options. It works if I use "Add or Remove Buttons".
Thanks,
Patrick
<Window.Resources> <sys:ArrayList x:Key="data"> <local:GroupViewModel Header="Home" /> <local:GroupViewModel Header="Web" /> <local:GroupViewModel Header="Local" /> </sys:ArrayList> </Window.Resources> <igOB:XamOutlookBar GroupsSource="{StaticResource data}"> <igOB:XamOutlookBar.Resources> <Style TargetType="{x:Type igOB:OutlookBarGroup}"> <Setter Property="Header" Value="{Binding Path=Header}" /> </Style> </igOB:XamOutlookBar.Resources> </igOB:XamOutlookBar>
Hi Patrick -
This looks like a bug. It appears that the binding you have setup for the Header property is getting reset or stepped on. This only seems to happen in the case where you disable the group via the NavigationPaneOptionsDialog (i.e., Step 4). If you disable the group using the AddRemoveButtons flyout menu, then the group's text appears OK on a subsequent opening of the AddRemoveButtons menu.
I have logged bug #23338 for this issue. Thanks for reporting this.
Joe