New to Telerik UI for WPFStart a free 30-day trial

Represents a base class for decorative UI layers in the Telerik RadRichTextBox.

Definition

Constructors

C#
public DecorationUILayerBase()

Properties

C#
protected RadDocument Document { get; }

Gets or sets a value indicating whether the UI layer is hit test visible.

C#
public virtual bool IsHitTestVisible { get; set; }
Property Value:

true if the UI layer is hit test visible; otherwise, false.

Implements: IUILayer.IsHitTestVisible

Gets or sets the name of the decoration UI layer.

C#
public abstract string Name { get; }
Property Value:

The name of the decoration UI layer as a string.

Implements: IUILayer.Name

Determines whether the decoration UI layer should be clipped to its bounds.

C#
public virtual bool ShouldClip { get; }

Implements: IUILayer.ShouldClip

Determines whether the decoration UI layer should be updated when it has not been invalidated.

C#
public virtual bool ShouldUpdateWhenNotInvalidated { get; }

Implements: IUILayer.ShouldUpdateWhenNotInvalidated

Methods

C#
protected void AddDecorationElement(UIElement element)
Parameters:elementUIElement

Arranges the child elements within the decoration layer, positioning them appropriately based on the current layout and available space.

C#
public virtual void ArrangeChildren()

Implements: IUILayer.ArrangeChildren()

C#
protected virtual void Clear()

Clears all child elements from the decoration UI layer.

C#
public virtual void ClearChildren()

Implements: IUILayer.ClearChildren()

Executes any necessary actions when the presentation has changed.

C#
public virtual void DoOnPresentationChanged()

Implements: IUILayer.DoOnPresentationChanged()

Retrieves the UI element associated with the decoration layer.

C#
public UIElement GetLayerUIElement()
Returns:

UIElement

The UI element that represents the decoration layer.

Implements: IUILayer.GetLayerUIElement()

C#
protected virtual void OnDocumentChanged()
C#
protected virtual void OnDocumentChanging()

Updates the view port override for the decoration UI layer based on the given update context.

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

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.

C#
public void UpdateViewPort(UILayerUpdateContext context)
Parameters:contextUILayerUpdateContext

The context that contains the information needed to update the UI layer.

Implements: IUILayer.UpdateViewPort(UILayerUpdateContext)