This library Implements a WPF/MVVM Control libray (with backend) that manages a Most Recently Used list of files:
- with saving/loading settings from to XML
- List can be grouped by last access (Pinned, Today, Yesterday, Last Week)
- A recently used files menu entry sorted by last access (without grouping is also supported)
- Pinned entries can be moved up and down in the list
- List entries can be removed based on their age (e.g. Remove all entries older than 1 week)
- Support for Light/Dark theming is build in
- Entries in a ListView (or other constrained size view) can be trimmed using Ellipses '...' characters at the Left, Right, or Center of the text string
See ShowEllipses
dependency property of the:
for more details.
There is a demo application and unit test project to demonstrate usage of the control and document each feature, such as, the ability to configure a minimum and maximum value that can be used to keep the resulting number of list entries within defined bounds.
Load Light or Dark brush resources in you resource dictionary to take advantage of existing definitions.
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/MRULib;component/Themes/DarkBrushes.xaml" />
</ResourceDictionary.MergedDictionaries>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/MRULib;component/Themes/LightBrushes.xaml" />
</ResourceDictionary.MergedDictionaries>
These definitions do not theme all controls used within this library. You should use a standard theming library, such as:
- MahApps.Metro,
- MLib, or
- MUI
to also theme standard elements, such as, button and textblock etc.
This library is the third attempt on the subject. See Codeplex to find the last version of this library: http://mrulist.codeplex.com/.
Sample Applications:
- Edi (see screeenshots below)
- XmlExplorer