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
195
Ribbon Recently Used Items
posted

How do you open/navigate a page or window when clicking on a recently used item in the application menu?  I have seen the help file on how to add the item to menu, but not sure how to set it to know where to navigate.  I have a main navigation hub that contains carousel images to open sub-applications (Mainly pages viewed in a Frame ).  Once the sub-app is opened, it would be nice to add the sub-app name to the recently used list to allow quick navigation back to that page/window.  Thanks in advance.

Parents
No Data
Reply
  • 8576
    Offline posted
    Hi -
     
    Since the XamRibbon has no intrinsic understanding of the items you place in the ApplicationMenu.RecentItems collection, you need to provide enough information (context) on the individual items to allow your code to 'know what to do' when the item is clicked.  For example, if you are adding items that are derived from FrameworkElement you can store some information (e.g., a filename) in the Tag property of the element that you can reference when the item is clicked on.
     
    JoeM
     
Children
No Data