Class RevisionSettingsModel
Interface for a class RevisionSettings.
Inherited Members
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.DocumentEditor.dll
Syntax
public class RevisionSettingsModel
Constructors
RevisionSettingsModel()
Declaration
public RevisionSettingsModel()
Properties
CustomData
Specifies the custom data value.
Declaration
[JsonPropertyName("customData")]
public string CustomData { get; set; }
Property Value
| Type |
|---|
| string |
DeleteRevisionColor
Gets or sets the color value used for delete revisions for visual identification within the Document Editor.
The default value is 'byAuthor'.
This property accepts either 'byAuthor' or a hexadecimal color value string (for example, '#b5082e').
If the value is 'byAuthor', delete revisions (Deletion/MoveFrom) are highlighted using the author-specific color.
Otherwise, delete revisions are highlighted using the color value specified for this property.
Application-level only; this value is not maintained in the DOCX file.
Declaration
public string? DeleteRevisionColor { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The default value is 'byAuthor'. |
DeletedRowColor
Gets or sets the background color used for deleted table-row for visual identification within the Document Editor.
The default value is 'byAuthor'.
This property accepts either 'byAuthor' or a hexadecimal color value string (for example, '#b5082e').
If the value is 'byAuthor', deleted row revisions (Deletion/MoveFrom) use the author-specific color.
Otherwise, deleted row revisions use the color value specified for this property.
Application-level only; this value is not maintained in the DOCX file.
The applied color is automatically tinted by 10% and used as the row background color to ensure visibility of deleted content within the row.
Declaration
[JsonPropertyName("deletedRowColor")]
public string? DeletedRowColor { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The default value is 'byAuthor'. |
InsertRevisionColor
Gets or sets the color value used for insert revisions for visual identification within the Document Editor.
The default value is 'byAuthor'.
This property accepts either 'byAuthor' or a hexadecimal color value string (for example, '#0e76b1').
If the value is 'byAuthor', insert revisions (Insertion/MoveTo) are highlighted using the author-specific color.
Otherwise, insert revisions are highlighted using the color value specified for this property.
Application-level only; this value is not maintained in the DOCX file.
Declaration
[JsonPropertyName("insertRevisionColor")]
public string? InsertRevisionColor { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The default value is 'byAuthor'. |
InsertedRowColor
Gets or sets the background color used for inserted table-row for visual identification within the Document Editor.
The default value is 'byAuthor'.
This property accepts either 'byAuthor' or a hexadecimal color value string (for example, '#0e76b1').
If the value is 'byAuthor', inserted row revisions (Insertion/MoveTo) use the author-specific color.
Otherwise, inserted row revisions use the color value specified for this property.
Application-level only; this value is not maintained in the DOCX file.
The applied color is automatically tinted by 10% and used as the row background color to ensure visibility of inserted content within the row.
Declaration
[JsonPropertyName("insertedRowColor")]
public string? InsertedRowColor { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The default value is 'byAuthor'. |
RevisionColors
Gets or sets the array of colors used to render tracked revisions (insertions and deletions) in the document editor. Each author who makes a revision is assigned a color from this array in a round-robin fashion. The first author receives the color at index 0, the second author receives the color at index 1, and so on. When the number of authors exceeds the array length, the assignment wraps around to the beginning of the array.
Declaration
[JsonPropertyName("revisionColors")]
public string[]? RevisionColors { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] | An array of color strings. The default value is new[] { "#b5082e", "#0e76b1", "#bb00ff", "#c14f16", "#128317", "#881824", "#a26400", "#50565e" }. |
ShowCustomDataWithAuthor
Specifies the boolean value indicating whether to show custom data along with author in the Track Changes pane.
Declaration
[JsonPropertyName("showCustomDataWithAuthor")]
public bool ShowCustomDataWithAuthor { get; set; }
Property Value
| Type |
|---|
| bool |