I have run the sample XamRibbonWindow, and when I press the Alt key, letters show up above the menu, and I can then key the letter (ie "F" for the ApplicationMenu) and navigate to that menu using key gestures. However with the code below, this doesn't occur. Anything that I have missed? Thank you
<igRibbon:XamRibbonWindow x:Class="StdWinGUI.Common.frmTestWPF" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:igRibbon="http://infragistics.com/Ribbon" xmlns:std="clr-namespace:StdWinGUI.Common" Title="frmTestWPF" Height="312" Width="419"> <igRibbon:RibbonWindowContentHost> <igRibbon:RibbonWindowContentHost.Ribbon> <igRibbon:XamRibbon HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DockPanel.Dock="Top" > <igRibbon:XamRibbon.ApplicationMenu> <igRibbon:ApplicationMenu> <igRibbon:ToolMenuItem Header="_Close"></igRibbon:ToolMenuItem> </igRibbon:ApplicationMenu> </igRibbon:XamRibbon.ApplicationMenu> <igRibbon:XamRibbon.Tabs> <igRibbon:RibbonTabItem Header="Help" > <igRibbon:RibbonGroup Caption="Help"> <igRibbon:ButtonTool Caption="Help" /> </igRibbon:RibbonGroup> </igRibbon:RibbonTabItem> </igRibbon:XamRibbon.Tabs> </igRibbon:XamRibbon> </igRibbon:RibbonWindowContentHost.Ribbon > <igRibbon:RibbonWindowContentHost.StatusBar> <StatusBar HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DockPanel.Dock="Bottom" Height="23" > <StatusBarItem Name="_SbiStatus" Content="Ready" /> </StatusBar> </igRibbon:RibbonWindowContentHost.StatusBar> <ContentPresenter /> </igRibbon:RibbonWindowContentHost></igRibbon:XamRibbonWindow>
Some further investigation led to some more clues, but no solution, hopefully someone can provide some help.
If I take the exact same code, and put into a new WPF Application project, the gestures work.
In it's existing situation the code is in a WPF Class Library that contains both Windows forms and WPF Windows like the one above. The test form above is being called from a Windows form calling the WPF Window.Show method. I would like to keep it in a mixed project, but not sure if this is possible. All suggestions appreciated. Thank you,
Mike