New to Telerik UI for WinForms? Start a free 30-day trial

Adds colored cell fills that distinguish table rows carrying deletion or insertion revision metadata.

Definition

Constructors

C#
public TableRevisionRangesDecoration()

Properties

Gets the registered layer identifier for table revision decorations.

C#
public override string Name { get; }

Overrides: DecorationUILayerBase.Name

Methods

Adds a filled rectangle over the cell, using the deletion color for deleted rows and the insertion color otherwise.

C#
public void CreateBoundariesUI(TableCellLayoutBox cellBox, UILayerUpdateContext context)
Parameters:cellBoxTableCellLayoutBox

A cell whose row has revision metadata; its control bounds define the fill rectangle.

contextUILayerUpdateContext

The 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.

C#
public override void UpdateUIViewPortOverride(UILayerUpdateContext context)
Parameters:contextUILayerUpdateContext

The current viewport and presenter context.

Overrides: DecorationUILayerBase.UpdateUIViewPortOverride(UILayerUpdateContext)