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
}