skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TrackChangesOptions

Represents the options for tracking changes in a document.

Inheritance
System.Object
TrackChangesOptions
Namespace: Telerik.Windows.Documents.Model.Revisions
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public class TrackChangesOptions : Object

Constructors

TrackChangesOptions()

Declaration
public TrackChangesOptions()

Properties

ChangedLinesDecorationColorOptions

Specifies the options for the changed lines decoration color in the track changes feature.

Declaration
public ChangedLinesOptions ChangedLinesDecorationColorOptions { get; }
Property Value
ChangedLinesOptions

Comments

Gets or sets the options for tracking changes related to comments in the document.

Declaration
public CommentsOptions Comments { get; }
Property Value
CommentsOptions

An instance of TrackChangesOptions representing the settings for comment tracking.

CurrentAuthorColor

Gets or sets the color associated with the current author in the track changes feature.

Declaration
public Color CurrentAuthorColor { get; set; }
Property Value
System.Windows.Media.Color

A System.Windows.Media.Color value that represents the current author's color.

Delete

Represents the options for tracking changes in delete operations within the document model.

Declaration
public StructureRevisionOptions Delete { get; }
Property Value
StructureRevisionOptions

DeletedCells

Gets or sets the options for tracking deleted cells in a document.

Declaration
public TableRevisionOptions DeletedCells { get; }
Property Value
TableRevisionOptions

Formatting

Represents the options for formatting when tracking changes in documents.

Declaration
public StructureRevisionOptions Formatting { get; }
Property Value
StructureRevisionOptions

Insert

Specifies the options for inserting changes in the document's revisions tracking feature.

Declaration
public StructureRevisionOptions Insert { get; }
Property Value
StructureRevisionOptions

InsertedCells

Gets or sets the options for tracking changes related to inserted cells in a document.

Declaration
public TableRevisionOptions InsertedCells { get; }
Property Value
TableRevisionOptions

The options that specify how inserted cells are handled when tracking changes.

TrackFormatting

Gets or sets a value indicating whether to track formatting changes in revisions.

Declaration
public bool TrackFormatting { get; set; }
Property Value
System.Boolean

A boolean value that determines if formatting changes are tracked. If true, formatting changes will be included in the revision tracking; otherwise, they will not.

Methods

GetChangedLinesColor()

Gets the color of the changed lines in the document.

Declaration
public Nullable<Color> GetChangedLinesColor()
Returns
System.Nullable<System.Windows.Media.Color>

A System.Windows.Media.Color representing the color assigned to the changed lines.

GetColorByAuthor(String)

Retrieves the color associated with the specified author's changes in a document.

Declaration
public Color GetColorByAuthor(string authorUserName)
Parameters
System.String authorUserName

The name of the author whose change color is to be retrieved.

Returns
System.Windows.Media.Color

The color assigned to the author's changes, represented as a string.

GetTableDeleteColor(String)

Retrieves the color used to indicate deleted tables in the tracked changes of a document.

Declaration
public Nullable<Color> GetTableDeleteColor(string authorUserName)
Parameters
System.String authorUserName

The user name if the author.

Returns
System.Nullable<System.Windows.Media.Color>

Returns the color associated with the deletion of the specified table as a string.

GetTableInsertColor(String)

Retrieves the color used for inserting tables in the tracked changes feature.

Declaration
public Nullable<Color> GetTableInsertColor(string authorUserName)
Parameters
System.String authorUserName

The user name of the author

Returns
System.Nullable<System.Windows.Media.Color>

A string representing the color associated with inserting tables. The color format is typically in hexadecimal representation.

SetDeletedTextProperties(String, SpanProperties)

Sets the properties for text that has been marked as deleted in the document.

Declaration
public void SetDeletedTextProperties(string userName, SpanProperties properties)
Parameters
System.String userName

The user that makes the change.

SpanProperties properties

The span properties to apply to the deleted text.

SetInsertedTextProperties(String, SpanProperties)

Sets the properties for the inserted text in the track changes feature.

Declaration
public void SetInsertedTextProperties(string userName, SpanProperties properties)
Parameters
System.String userName

The user that makes the change

SpanProperties properties

The properties to be applied to the inserted text.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.