Hello. I have a problem with the QuickAccessToolbar.
I have downloaded the XamRibbon from the internet and I want to use it in a Wpf application. But I need to customize that XamRibbon so I created a user control derived from the XamRibbon and I added on it some buttons and some labels. Some of the buttons I have added them on the QuickAccessToolbar, like this: QatPlaceholderTool TargetId="button1". I created then a XamRibbonWindow and for that window I specified the ribbon of the RibbonWindowContentHost as the control that I created.
But the buttons from the QuickAccessToolbar are not visibles. I copied the code from my control on a XamRibbonWindow and it works. But when I use my control, I have on the QuickAccessToolbar only empty spaces.
Please can you help me with this problem.
Thanks.
Nico
It sounds like the placeholder tool is not locating the tools you defined within the Ribbon that have their Id set to those values. Can you post a snippet of what you are doing so we can see the problem?
Thanks for the quick response. Here is the ribbon:
<infragisticsRibbon:XamRibbon x:Class="WpfPaMaPrototype.UserControls.Navigation.userControlRibbon"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
xmlns:infragisticsRibbon="clr-namespace:Infragistics.Windows.Ribbon;assembly=Infragistics3.Wpf.Ribbon.v7.2" Width="Auto" Height="auto">
<infragisticsRibbon:XamRibbon.QuickAccessToolbar>
<infragisticsRibbon:QuickAccessToolbar>
<infragisticsRibbon:QatPlaceholderTool TargetId="button1" />
<infragisticsRibbon:QatPlaceholderTool TargetId="button2" />
<infragisticsRibbon:QatPlaceholderTool TargetId="button3" />
</infragisticsRibbon:QuickAccessToolbar>
</infragisticsRibbon:XamRibbon.QuickAccessToolbar>
<infragisticsRibbon:RibbonTabItem Name="rtiPartner" Header="Partner" Height="auto">
<infragisticsRibbon:RibbonGroup Name="rgrPartner" Caption="Partner">
<infragisticsRibbon:ToolVerticalWrapPanel>
<infragisticsRibbon:ButtonTool Height="23" Id="button1" Name="button1" Width="23" Caption="" LargeImage="/WpfPaMaPrototype;component/Resources/Icons/help.png" Click="button1_Click" />
</infragisticsRibbon:ToolVerticalWrapPanel>
</infragisticsRibbon:RibbonGroup>
<infragisticsRibbon:RibbonGroup Id="rgrPartnerdaten" Caption="Partnerdaten">
<infragisticsRibbon:ButtonTool Height="23" Id="button2" Name="button2" Width="23" Caption="" LargeImage="/WpfPaMaPrototype;component/Resources/Icons/help.png" Click="button2_Click" />
<infragisticsRibbon:ButtonTool Height="23" Id="button3" Name="button3" Width="23" Caption="" LargeImage="/WpfPaMaPrototype;component/Resources/Icons/help.png" Click="button3_Click" />
</infragisticsRibbon:XamRibbon>
And here is the window:
<infragisticsRibbon:XamRibbonWindow x:Class="WpfPaMaPrototype.winPaMa"
Title="LKW - Walter (PaMa)" WindowState="Maximized" Icon="Resources/Icons/MainMenuPartner.png"
xmlns:infragisticsRibbon="clr-namespace:Infragistics.Windows.Ribbon;assembly=Infragistics3.Wpf.Ribbon.v7.2"
xmlns:userControlsNavigation="clr-namespace:WpfPaMaPrototype.UserControls.Navigation" Height="676" Width="1132" >
<infragisticsRibbon:RibbonWindowContentHost>
<infragisticsRibbon:RibbonWindowContentHost.Ribbon>
<userControlsNavigation:userControlRibbon x:Name="userControlRibbon"/>
</infragisticsRibbon:RibbonWindowContentHost.Ribbon>
</infragisticsRibbon:XamRibbonWindow>
Thanks very much for help.
I looked at the snippet and was able to see the problem. This is a bug in the control and will be addressed in a hotfix. Please report the issue to the support group so that you can be notified when the fix is available. http://ko.infragistics.com/gethelp/default.aspx
When reporting the issue, please reference issue # BR31021.
Hello. I got the hotfix for this problem and now it's working.