Skip to main content

Document.Revisions Property

Provides access to the collection of revisions made in the current document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation


RevisionCollection Revisions { get; }

Property Value

Type Description

A RevisionCollection object that is the revision collection.


Use the Revisions property to access a collection of revisions or a specific revision by its index.

You can accept or reject all revisions, or pass a specific Predicate<T> to the AcceptAll or RejectAll method to accept or reject revisions with given parameters.

The code sample below shows how to accept all revisions from a specific author made on the specified date:

using (RichEditDocumentServer wordProcessor = new RichEditDocumentServer())
  DateTime dateTime = new DateTime(2019,9,2);
  wordProcessor.Document.Revisions.AcceptAll(x=> x.Author == "Nancy Davolio" && x.DateTime == dateTime);

The following code snippets (auto-collected from DevExpress Examples) contain references to the Revisions property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also