Class
ProofingErrorsDecorationUILayer

Represents a UI layer for displaying proofing errors in text documents.

Definition

Namespace:Telerik.Windows.Documents.UI.Layers.TextDecorationLayers

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ProofingErrorsDecorationUILayer : DecorationUILayerBase, IUILayer

Inheritance: objectDecorationUILayerBaseProofingErrorsDecorationUILayer

Implements: IUILayer

Inherited Members DecorationUILayerBase.ArrangeChildren()DecorationUILayerBase.GetLayerUIElement()DecorationUILayerBase.DoOnPresentationChanged()DecorationUILayerBase.UpdateViewPort(UILayerUpdateContext)DecorationUILayerBase.AddDecorationElement(UIElement)DecorationUILayerBase.OnDocumentChanging()DecorationUILayerBase.OnDocumentChanged()DecorationUILayerBase.ShouldUpdateWhenNotInvalidatedDecorationUILayerBase.ShouldClipDecorationUILayerBase.IsHitTestVisibleDecorationUILayerBase.Document

Constructors

ProofingErrorsDecorationUILayer()

Declaration

cs-api-definition
public ProofingErrorsDecorationUILayer()

Properties

MaximumIncorrectWordsNumber

Gets or sets the maximum incorrect words number. Negative value means unlimited.

Declaration

cs-api-definition
protected virtual int MaximumIncorrectWordsNumber { get; }

Property Value

int

The maximum incorrect words number.

Name

Gets the name of the Proofing Errors Decoration UI Layer.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

A string that represents the name of the Proofing Errors Decoration UI Layer.

Overrides DecorationUILayerBase.Name

Methods

Clear()

Declaration

cs-api-definition
protected override void Clear()

Overrides DecorationUILayerBase.Clear()

ClearChildren()

Clears all child elements from the ProofingErrorsDecorationUILayer.

Declaration

cs-api-definition
public override void ClearChildren()

Overrides DecorationUILayerBase.ClearChildren()

Remarks

This method is typically used to reset the decoration layer state by removing any existing decorations that may have been added to indicate proofing errors.

UpdateUIViewPortOverride(UILayerUpdateContext)

Updates the user interface viewport for the proofing errors decoration layer.

Declaration

cs-api-definition
public override void UpdateUIViewPortOverride(UILayerUpdateContext context)

Parameters

context

UILayerUpdateContext

The context object containing information about the update operation.

Overrides DecorationUILayerBase.UpdateUIViewPortOverride(UILayerUpdateContext)