Skip to content

Implements a WPF/MVVM Control libray (with backend) that manages a MRU (Most Recently Used) list of files

License

Notifications You must be signed in to change notification settings

Dirkster99/MRULib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status Release NuGet

Net4 NetCore3

 Overview

The MRUib project supplies MVVM/WPF controls that manage a Most Recently Used list of files. See CodeProject article for more details.

Details and Demo Applications

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.

Theming

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:

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:

screenshot screenshot screenshot