Dirkster.MRULib 1.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Dirkster.MRULib --version 1.1.1
NuGet\Install-Package Dirkster.MRULib -Version 1.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dirkster.MRULib" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dirkster.MRULib --version 1.1.1
#r "nuget: Dirkster.MRULib, 1.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Dirkster.MRULib as a Cake Addin
#addin nuget:?package=Dirkster.MRULib&version=1.1.1

// Install Dirkster.MRULib as a Cake Tool
#tool nuget:?package=Dirkster.MRULib&version=1.1.1

Build status Release NuGet <h1><img src="https://github.com/Dirkster99/MRULib/blob/master/ProjectIcon.png?raw=true" height="64"/> Overview</h1> The MRUib project supplies MVVM/WPF controls that manage a Most Recently Used list of files. See <a href="https://www.codeproject.com/Articles/1202738/MRU-Most-Recently-Used-WPF-control">CodeProject article</a> 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

alternate text is missing from this package README imagealternate text is missing from this package README image

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

Product Compatible and additional computed target framework versions.
.NET Framework net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Dirkster.MRULib:

Repository Stars
Dirkster99/Edi
Edi - The open source text editor IDE based on AvalonDock and AvalonEdit
Version Downloads Last updated
1.3.0 6,165 9/3/2019
1.2.1 1,247 5/20/2019
1.1.1 620 5/18/2019
1.0.2 2,647 9/4/2018
1.0.1 1,200 6/7/2018
1.0.0 1,567 8/22/2017

Added trimmed text display with ellipses center, left, and right (perf optimized).