TrackChangesOptions
Provides visual options and helper methods for rendering tracked text, table, and changed-line revisions.
Definition
Namespace:Telerik.WinForms.Documents.Model.Revisions
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class TrackChangesOptions
Inheritance: objectTrackChangesOptions
Constructors
Initializes the default inserted/deleted text, table-cell, and changed-line display options.
public TrackChangesOptions()
Properties
Gets the display options for change indicators along the document's changed lines.
public ChangedLinesOptions ChangedLinesDecorationColorOptions { get; }
Gets the comment-related track-change options; the current in-repository comment rendering code does not consume them.
public CommentsOptions Comments { get; }
Gets or sets the color associated with the current author.
public Color CurrentAuthorColor { get; set; }
Gets the color and decoration options used to render deleted text revisions.
public StructureRevisionOptions Delete { get; }
Gets the highlight options for deleted table cells.
public TableRevisionOptions DeletedCells { get; }
Gets the stored visual options for formatting revisions; the current in-repository revision rendering code does not consume them.
public StructureRevisionOptions Formatting { get; }
Gets the color and decoration options used to render inserted text revisions.
public StructureRevisionOptions Insert { get; }
Gets the highlight options for inserted table cells.
public TableRevisionOptions InsertedCells { get; }
Gets or sets whether formatting changes should be tracked; the current in-repository revision code does not read this value.
public bool TrackFormatting { get; set; }
Methods
Gets the palette color assigned to an author, reusing that color for later requests with the same name.
Gets the color for a deleted-cell revision, or null when deleted-cell highlighting is disabled.
Gets the color for an inserted-cell revision, or null when inserted-cell highlighting is disabled.
Applies the configured color and decoration for deleted text to the supplied span properties.
public void SetDeletedTextProperties(string userName, SpanProperties properties)
The author associated with the deleted text.
propertiesSpanPropertiesThe span properties to update.
Applies the configured color and decoration for inserted text to the supplied span properties.
public void SetInsertedTextProperties(string userName, SpanProperties properties)
The author of the inserted text.
propertiesSpanPropertiesThe span properties to update.