Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RevisionCollection.AcceptAll(SubDocument, Predicate<Revision>) Method

Accepts all revisions that meet the specified criteria in the specific SubDocument.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

void AcceptAll(
    SubDocument subDocument,
    Predicate<Revision> predicate
)

#Parameters

Name Type Description
subDocument SubDocument

A SubDocument object that is the specific document part (main body, header or footer).

predicate Predicate<Revision>

A Predicate<T> object that defines a set of criteria for the Revision object.

#Remarks

Use this AcceptAll method overload to accept revisions in a specific document part (main body, header or footer, comment or text box).

Use the SubDocument.GetSubDocumentType() to determine the type of the current SubDocument.

The following properties allow you to access a SubDocument of a specific document part:

Document Part Property
Main Body RichEditDocumentServer.Document
Header or Footer Section.BeginUpdateHeader
Section.BeginUpdateFooter
Comment Comment.BeginUpdate
Text Box TextBox.Document
See Also