2

How to add a "Recent Document" history to WPF RibbonApplicationMenu, and what is the best way to do so?

I have looked into RecentFileList which is the closest thing I found on Google and SO, but it only applies to MenuItem. It is not flexible enough to add the MRU to different controls. What is the best approach to do this? Write to and read from the registry? Or save the filaPath to a hidden text file somewhere and read off it (easier, perhaps) ?

KMC
  • 18,443
  • 53
  • 146
  • 238
  • 2
    I would recommend a SQLite database per user for data like MRU list – Siy Williams Aug 02 '11 at 09:01
  • SQLite database for a mere MRU would be an overkill. You could use application settings to store MRU; myabe in a StringCollection type setting. – dotNET Feb 13 '17 at 06:47

0 Answers0