views:

26

answers:

0

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 ...>

At runtime, I populate 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?