Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
315
Navigate from ApplicationMenu to a RibbonTab
posted

Hi, I'm using your great Ribbon in Office2010 mode and am stuck on one thing:

In my application menu, I have several subpages via embedded Frame:

           ....
           <igRibbon:XamRibbon ApplicationMenuMode="Office2010" Theme="Office2010" Name="MyRibbon">  
                    ....                    
                   <igRibbon:ApplicationMenu2010 Caption="Start">
                            <igRibbon:ApplicationMenu2010.Items>
                                <igRibbon:ApplicationMenu2010Item Header="Start">
                                    <igRibbon:ApplicationMenu2010Item.Content>
                                        <Grid Margin="20,0,0,0">
                                            <Frame Source="Start.xaml"></Frame>
                                        </Grid>
                                    ....

In Start.xaml, for example, I am listing some items. What I would like to do is to link from Start.xaml to the first RibbonTab, so that if a user double clicks an item in Start.xaml, the RibbonTab x opens.

I know how to open the ApplicationMenu2010 by default and how to select a RibbonTab via .SelectedTab = x, but the problem is that I have no reference to MyRibbon from Start.xaml because it is a totally different page. So how can I link an action in Start.xaml to an action in MyRibbon ?

Thank you very much for your help!