Hi,
I am using this control and trying to change the text on the Navigation Pane, I know people have asked this before but I looked at this post and tried what was suggested but it did not work so was not sure if perhaps this was for an older version of control.
http://es.infragistics.com/community/forums/p/18173/67007.aspx#67007
Here is my code
<igOutlookBar:XamOutlookBar x:Name="xamOutlookBar"
GroupsSource="{Binding Groups, Mode=TwoWay}"
IsEnabled="{Binding ReadOnlyOption, Converter={x:Static valueConverters:InverseBooleanValueConverter.Instance}}"
Theme="Metro" VerticalContentAlignment="Stretch" FontSize="14" SelectedGroupChanged="xamOutlookBar_SelectedGroupChanged">
<igOutlookBar:XamOutlookBar.Resources>
<Style x:Key="{x:Static igOutlookBar:XamOutlookBar.NavigationPaneToggleButtonStyleKey}" TargetType="{x:Type ToggleButton}">
<Setter Property="Content" Value="Something Else" />
</Style>
/igOutlookBar:XamOutlookBar.Resources>
</igOutlookBar:XamOutlookBar>
Any help would be appreciated.
kind regards,
Anne
Just noticed it only does not work if you set the Theme to Metro, all other themes work.
Hi Anne,
I created a very simple sample with two XamOutlookBars, one using Metro Theme and the other using Office2k7Black adding the NavigationPane ToggleButton style to each.
I tested my sample using the 2013.1 v20131.2108 assemblies. If you are using a different specific version please let me know.
I'll attach my sample so you can run it to see if you see the same behavior I believe you described of the context not changing when you toggle the outlook bar.
I reviewed the sample you sent back to me and it appears to pick up whatever version you have installed. I thought I had set the Specific Version to False and Copy Local to False so that it would pull from your installed version and not copy the assemblies to the bin when you build the application. I also removed the bin and obj folders before I sent the sample to you so that the assemblies couldn't be pulled from there. Looking at the project file it looks as if the InfragisticsWPF4.OutlookBar assembly was replaced but not the InfragisticsWPF4.dll so they could be pointing to different assembly versions.
I also tested the sample using 2013.2.1009 and see the behavior you first reported when collapsing the OutlookBar and using Metro.
So it looks like the solution for you is to download the latest service release and upgrade you sample to that version. You can use our Version Utility to update the assembly references and I would recommend that you remove the bin and obj folders. If there is a license.licx file in the Properties folder, remove the assembly reference in that file. Microsoft will repopulate the content of that file as necessary.
Please let me know if you have any questions.
I hadn’t heard from you and I was wondering if you had further questions.
Hi Marianne,
Thank you for the feedback, unfortunately I cannot up the version of the controls as the software is about to be released to live, as I have had issues in the past where different versions change functionality.
The only suggestion I have with the older version, since you can't upgrade at this point, would be for you to re-template the Metro OutlookBar style.
Based on this description of the styling points, I believe you would need to focus on the NavigationPaneToggleButton.
http://help.infragistics.com/doc/WPF/2013.2/CLR4.0/?page=xamOutlookBar_About_Styling_xamOutlookBar.html
Let me know if you have any questions.
I hope my suggestion helped. Please let me know if you have further questions.