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
785
Responding to a Recent Items Selection
posted

Hello All,

I am using Infragistics WPF NetAdvantage 2010, Volume 2. In what follows, please assume the following definition exists:
   xmlns:igRibbon="http://infragistics.com/Ribbon"

My top-level structure is as follows:

<igRibbon:XamRibbonWindow ...>
   <igRibbon:RibbonWindowContentHost>
      <igRibbon:RibbonWindowContentHost.Ribbon>
         <igRibbon:XamRibbon ...>
            <igRibbon:XamRibbon.ApplicationMenu>
               <igRibbon:ApplicationMenu ...>

I have populated ApplicationMenu.RecentItems, an ObservableCollection<>, with a list of recently-used files (as strings).

What code do I need to put in place to respond to the user selecting one of these files? In my handler code, how can I get at the filename string?

Thanks,
Dave