Hi I'm trying to use Tooltips in the Application Menu
Code looks like this:
<igRibbon:XamRibbon.ApplicationMenu>
<igRibbon:ApplicationMenu Image="...">
<igRibbon:ButtonTool ToolTip="abcdef" caption="abc" />
</igRibbon:ApplicationMenu>
</igRibbon:XamRibbon.ApplicationMenu>
After the Tooltip has been shown an exception occurs:
"Cannot set Expression. It is marked as 'NonShareable' and has already been used"
The same error also occurs if you modify the xamSALESMANAGER to show tooltips in the application menu.
I wasn't able to reproduce the problem. You might want to get the latest hotfix and retest the issue. If you still get the problem please post the call stack for the exception and information about what version you are using.
Hello
I'm using Infragistics3.Wpf.Ribbon.v9.2 Version 9.2.20092.2023.
It looks like the problem occurs when on the Window where the Ribbon ist located, a DataContext is set.
Window1.xaml
<igRibbon:xamRibbonWindow x:Class="Tooltip.Window1" Title="Window1">
...
</igRibbon:XamRibbonWindow>
Window1.xaml.cs:
public partial class Window1
{
public Window1()
DataContext = new Class1(); //Class1 is an empty class
}
Thanks for the additional info. I was able to reproduce the issue and have submitted it. I'll see about getting a case created for you for this issue so you can be notified when the fix is available.
How can I be notified of a resolution for this?
Developer support will (if not already done) create a case and associate it with your account and you should receive an email when the hotfix containing the fix is available. You can contact the developer support group for more information.