Skip Navigation LinksActipro Software / Products / .NET Controls / WPF / Shared Library / Document Management

Product Details

Actipro WPF Shared Library
Useful common controls and components for WPF, included with our other WPF products

Latest Release:
v4.5.0480 on 11/07/2008

Supported Environments:
.NET 3.0 - 3.5
Visual Studio 2008
Expression Blend

Other Notes:

Licensing

The Shared Library is not sold on its own. Any licensees of our other WPF control products are free to use it.

Product Newsletter

If you would like to receive periodic informative newsletters about our new .NET controls and events, please fill out the following information.
Name:
 
E-mail Address:
 
Where did you hear about our products?
 

Actipro WPF Shared Library

Feature Tour:

Document Management

The ActiproSoftware.Windows.DocumentManagement namespace contains several classes that can be used for storing document references and maintaining recent document lists.

The RecentDocumentMenu ribbon control using the RecentDocumentManager class

These classes are used in our Ribbon product to manage recent documents within the ribbon application menu's optional RecentDocumentMenu control.

Document References

The IDocumentReference interface provides the base requirements for a document reference. A document reference is simply a reference to a document that contains the Uri to the document, along with the document's display name, the DateTime that it was last opened, and whether it is a pinned recent document.

The DocumentReference class is a simple implementation of the IDocumentReference class.

Recent Document Management

The RecentDocumentManager is a class that can manage a list of document references that point to recently-opened documents.

The manager class filters down the contained document references from its Documents collection into its FilteredDocuments collection.

The filtered collection will contain up to a maximum number of document references that you specify. That collection will also be sorted in reverse date/time of the last time the document was opened, by examining the IDocumentReference.LastOpenedDateTime property. Further logic is applied so that if the document reference's IsPinnedRecentDocument property is true, it will have higher priority for staying on the list and not being filtered out, even if another more recently-opened document reference would normally cause it to be filtered out.

The recent document list managed by a RecentDocumentManager can be easily persisted to an XML string. This XML string in turn can be saved to a settings file or database or whatever other sort of storage mechanism you use for keeping user data.