Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dirkster99/mrulib
Implements a WPF/MVVM Control libray (with backend) that manages a MRU (Most Recently Used) list of files
https://github.com/dirkster99/mrulib
csharp dark-theme dotnet library light-theme mit-license most-recently-used mru mvvm recent-apps recent-files recent-list recent-posts recently-added theme wpf
Last synced: 2 months ago
JSON representation
Implements a WPF/MVVM Control libray (with backend) that manages a MRU (Most Recently Used) list of files
- Host: GitHub
- URL: https://github.com/dirkster99/mrulib
- Owner: Dirkster99
- License: mit
- Created: 2017-08-22T20:42:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T17:10:16.000Z (over 5 years ago)
- Last Synced: 2024-11-01T13:42:20.721Z (3 months ago)
- Topics: csharp, dark-theme, dotnet, library, light-theme, mit-license, most-recently-used, mru, mvvm, recent-apps, recent-files, recent-list, recent-posts, recently-added, theme, wpf
- Language: C#
- Homepage:
- Size: 2.85 MB
- Stars: 23
- Watchers: 3
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build status](https://ci.appveyor.com/api/projects/status/hs63uymamjh9p34u?svg=true)](https://ci.appveyor.com/project/Dirkster99/mrulib)
[![Release](https://img.shields.io/github/release/Dirkster99/MRULib.svg)](https://github.com/Dirkster99/MRULib/releases/latest)
[![NuGet](https://img.shields.io/nuget/dt/Dirkster.MRULib.svg)](http://nuget.org/packages/Dirkster.MRULib)![Net4](https://badgen.net/badge/Framework/.Net 4/blue) ![NetCore3](https://badgen.net/badge/Framework/NetCore 3/blue)
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![](https://raw.githubusercontent.com/Dirkster99/Docu/master/MruLib/ShowLeftEllipses.png)![](https://raw.githubusercontent.com/Dirkster99/Docu/master/MruLib/ShowCenterEllipses.png)
See `ShowEllipses` dependency property of the:
- [PathTrimmingFileHyperlink](https://github.com/Dirkster99/MRULib/blob/master/source/MRULib/Controls/PathTrimmingFileHyperlink.xaml.cs)
- [PathTrimmingTextBlock](https://github.com/Dirkster99/MRULib/blob/master/source/MRULib/Controls/PathTrimmingTextBlock.cs)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.
```XAML
``````XAML
```These definitions do not theme all controls used within this library. You should use a standard theming library, such as:
- [MahApps.Metro](https://github.com/MahApps/MahApps.Metro),
- [MLib](https://github.com/Dirkster99/MLib), or
- [MUI](https://github.com/firstfloorsoftware/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](https://github.com/Dirkster99/Edi) (see screeenshots below)
- [XmlExplorer](https://github.com/Dirkster99/XmlExplorer)![screenshot](https://github.com/Dirkster99/Docu/blob/master/Edi/StartPage.png?raw=true)
![screenshot](https://github.com/Dirkster99/Docu/blob/master/Edi/MU_MenuItems.png?raw=true)
![screenshot](https://github.com/Dirkster99/Docu/blob/master/Edi/Edi_MRU_ContextMenu.png?raw=true)