Adds colored cell fills that distinguish table rows carrying deletion or insertion revision metadata.
Definition
Namespace:Telerik.WinForms.Documents.UI.Annotations
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class TableRevisionRangesDecoration : DecorationUILayerBase, IUILayer
Inheritance: objectDecorationUILayerBaseTableRevisionRangesDecoration
Implements:
Inherited Members
Constructors
public TableRevisionRangesDecoration()
Properties
Methods
Adds a filled rectangle over the cell, using the deletion color for deleted rows and the insertion color otherwise.
public void CreateBoundariesUI(TableCellLayoutBox cellBox, UILayerUpdateContext context)
A cell whose row has revision metadata; its control bounds define the fill rectangle.
contextUILayerUpdateContextThe current layer context, including the owning editor used to resolve author-specific colors.
A RadRichTextBox owner supplies colors through its TrackChangesOptions; a disabled color option omits the fill. Other presenter owners use the layer's fixed translucent fallback brushes.
Rebuilds fills for visible table cells whose rows have revision metadata.
public override void UpdateUIViewPortOverride(UILayerUpdateContext context)
The current viewport and presenter context.
Overrides: