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:
public class DocumentElementRevisionInfo
Inheritance: objectDocumentElementRevisionInfo
Constructors
Initializes an instance without assigning revision metadata.
public DocumentElementRevisionInfo()
Initializes an instance with the specified revision metadata. The supplied reference is retained rather than copied.
public DocumentElementRevisionInfo(RevisionInfo info)
The revision metadata associated with the element change.
Properties
Gets or sets whether the document element is marked as deleted by tracked changes.
[XamlSerializable]
public bool IsDeleted { get; set; }
Gets or sets whether the document element is marked as inserted by tracked changes.
[XamlSerializable]
public bool IsInserted { get; set; }
Gets or sets the author and date metadata for the associated insertion or deletion.
[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.
public DocumentElementRevisionInfo CreateDeepCopy()
A new instance containing the copied flags and revision metadata.