ClassDecorationUILayerBase
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
DecorationUILayerBase()
Declaration
public DecorationUILayerBase()
Properties
IsHitTestVisible
Gets or sets a value indicating whether the UI layer is hit test visible.
Declaration
public virtual bool IsHitTestVisible { get; set; }
Property Value
true if the UI layer is hit test visible; otherwise, false.
Implements
Name
Gets or sets the name of the decoration UI layer.
Declaration
public abstract string Name { get; }
Property Value
The name of the decoration UI layer as a string.
Implements
ShouldClip
Determines whether the decoration UI layer should be clipped to its bounds.
Declaration
public virtual bool ShouldClip { get; }
Property Value
Implements
ShouldUpdateWhenNotInvalidated
Determines whether the decoration UI layer should be updated when it has not been invalidated.
Declaration
public virtual bool ShouldUpdateWhenNotInvalidated { get; }
Property Value
Implements
Methods
AddDecorationElement(UIElement)
Declaration
protected void AddDecorationElement(UIElement element)
Parameters
element
UIElement
ArrangeChildren()
Arranges the child elements within the decoration layer, positioning them appropriately based on the current layout and available space.
Declaration
public virtual void ArrangeChildren()
Implements
Clear()
Declaration
protected virtual void Clear()
ClearChildren()
Clears all child elements from the decoration UI layer.
Declaration
public virtual void ClearChildren()
Implements
DoOnPresentationChanged()
Executes any necessary actions when the presentation has changed.
Declaration
public virtual void DoOnPresentationChanged()
Implements
GetLayerUIElement()
Retrieves the UI element associated with the decoration layer.
Declaration
public UIElement GetLayerUIElement()
Returns
UIElement
The UI element that represents the decoration layer.
Implements
OnDocumentChanged()
Declaration
protected virtual void OnDocumentChanged()
OnDocumentChanging()
Declaration
protected virtual void OnDocumentChanging()
UpdateUIViewPortOverride(UILayerUpdateContext)
Updates the view port override for the decoration UI layer based on the given update context.
Declaration
public abstract void UpdateUIViewPortOverride(UILayerUpdateContext context)
Parameters
context
The context that provides the necessary information for updating the UI layer.
UpdateViewPort(UILayerUpdateContext)
Updates the viewport for the decoration UI layer based on the specified update context.
Declaration
public void UpdateViewPort(UILayerUpdateContext context)
Parameters
context
The context that contains the information needed to update the UI layer.
Implements