Represents a base class for decorative UI layers in the Telerik RadRichTextBox.
Definition
Namespace:Telerik.Windows.Documents.UI.Layers
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public abstract class DecorationUILayerBase : IUILayer
Inheritance: objectDecorationUILayerBase
Derived Classes:
Implements:
Constructors
public DecorationUILayerBase()
Properties
protected RadDocument Document { get; }
Gets or sets a value indicating whether the UI layer is hit test visible.
public virtual bool IsHitTestVisible { get; set; }
true if the UI layer is hit test visible; otherwise, false.
Implements:
Gets or sets the name of the decoration UI layer.
public abstract string Name { get; }
The name of the decoration UI layer as a string.
Implements:
Determines whether the decoration UI layer should be clipped to its bounds.
public virtual bool ShouldClip { get; }
Implements:
Determines whether the decoration UI layer should be updated when it has not been invalidated.
public virtual bool ShouldUpdateWhenNotInvalidated { get; }
Implements:
Methods
protected void AddDecorationElement(UIElement element)
Arranges the child elements within the decoration layer, positioning them appropriately based on the current layout and available space.
public virtual void ArrangeChildren()
Implements:
protected virtual void Clear()
Clears all child elements from the decoration UI layer.
public virtual void ClearChildren()
Implements:
Executes any necessary actions when the presentation has changed.
public virtual void DoOnPresentationChanged()
Implements:
GetLayerUIElement()
UIElement
Retrieves the UI element associated with the decoration layer.
public UIElement GetLayerUIElement()
UIElement
The UI element that represents the decoration layer.
Implements:
protected virtual void OnDocumentChanged()
protected virtual void OnDocumentChanging()
Updates the view port override for the decoration UI layer based on the given update context.
public abstract void UpdateUIViewPortOverride(UILayerUpdateContext context)
The context that provides the necessary information for updating the UI layer.
Updates the viewport for the decoration UI layer based on the specified update context.
public void UpdateViewPort(UILayerUpdateContext context)
The context that contains the information needed to update the UI layer.
Implements: