Revision.Type Property
Indicates the type of revision.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
RevisionType | One of the RevisionType enumeration values indicating the revision type. |
Available values:
Name | Description |
---|---|
Inserted | Content was inserted. |
Deleted | Content was deleted. |
MovedFrom | Content was moved from the initial position. |
MovedTo | Content was moved to a new position. |
CharacterPropertyChanged | One of the character properties was changed. |
ParagraphPropertyChanged | One of the paragraph’s properties was changed or the paragraph was converted to a list. |
SectionPropertyChanged | One of the section’s properties was changed. |
TablePropertyChanged | One of the table’s properties was changed. |
TableRowPropertyChanged | One of the table row’s properties was changed. |
TableCellPropertyChanged | One of the table cell’s properties was changed. |
TableCellInserted | A table cell(s) was inserted. |
TableCellDeleted | A table cell(s) was deleted. |
TableCellsMerged | Table cells were merged. |
TableCellsSplit | Table cells were split into multiple cells. |
CharacterStyleDefinitionChanged | A character style was changed. |
ParagraphStyleDefinitionChanged | A paragraph style was changed. |
TableRowInserted | Table row was inserted. |
TableRowDeleted | Table row was deleted. |
Remarks
Use the Type property to determine the type of revision.
Note
You cannot create the following revision types via the Rich Text Editor UI:
- RevisionType.TableCellsMerged
- RevisionType.TableCellsSplit
- RevisionType.TableCellDeleted
- RevisionType.TableCellInserted
The RichEditControl and RichEditDocumentServer save these property values to a document. This allows you to open the document in Microsoft® Word® or another word processing application.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Type property.
Note
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.