New to Telerik UI for WinForms? Start a free 30-day trial

Tracks whether a document element is inserted or deleted and identifies the associated revision.

Definition

Namespace:Telerik.WinForms.Documents.Model.Revisions

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class DocumentElementRevisionInfo

Inheritance: objectDocumentElementRevisionInfo

Constructors

Initializes an instance without assigning revision metadata.

C#
public DocumentElementRevisionInfo()

Initializes an instance with the specified revision metadata. The supplied reference is retained rather than copied.

C#
public DocumentElementRevisionInfo(RevisionInfo info)
Parameters:infoRevisionInfo

The revision metadata associated with the element change.

Properties

Gets or sets whether the document element is marked as deleted by tracked changes.

C#
[XamlSerializable]
public bool IsDeleted { get; set; }

Gets or sets whether the document element is marked as inserted by tracked changes.

C#
[XamlSerializable]
public bool IsInserted { get; set; }

Gets or sets the author and date metadata for the associated insertion or deletion.

C#
[XamlCompositePropertySerializable]
public RevisionInfo RevisionInfo { get; set; }

Methods

Creates a copy of the insertion/deletion flags and a deep copy of the revision metadata. RevisionInfo must be non-null.

C#
public DocumentElementRevisionInfo CreateDeepCopy()
Returns:

DocumentElementRevisionInfo

A new instance containing the copied flags and revision metadata.