UIElementsLayer
Represents a layer in the UI that handles various UI elements for Telerik documents.
Definition
Namespace:Telerik.Windows.Documents.UI.Layers
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class UIElementsLayer : IUILayer
Inheritance: objectUIElementsLayer
Derived Classes:
Implements:
Constructors
Fields
container
Canvas
public Canvas container
Properties
Gets the current update context for the UI elements layer.
public UILayerUpdateContext CurrentUpdateContext { get; }
Gets or sets a value indicating whether the layer can receive hit test queries.
public bool IsHitTestVisible { get; set; }
True if the layer is hit test visible; otherwise, false.
Implements:
Determines whether the UI elements within the layer should be clipped.
public virtual bool ShouldClip { get; }
Implements:
Determines whether the UI elements layer should be updated when it has not been invalidated.
public virtual bool ShouldUpdateWhenNotInvalidated { get; }
Implements:
Methods
Adds a child UIElement to the UIElementsLayer.
public void AddChild(UIElement uiElement)
The UIElement to be added as a child.
Arranges the child elements of the UI elements layer.
public virtual void ArrangeChildren()
Implements:
Removes all child elements from the UIElementsLayer.
public void ClearChildren()
Implements:
protected virtual void ClearLayerOverride()
Executes a specified action when the presentation is changed.
public virtual void DoOnPresentationChanged()
Implements:
GetLayerUIElement()
UIElement
Retrieves the UI element associated with the UIElementsLayer.
public UIElement GetLayerUIElement()
UIElement
The UI element associated with the current layer, or null if no element is associated.
Implements:
Updates the viewport of the UI elements layer based on the specified update context.
public void UpdateViewPort(UILayerUpdateContext context)
The context that contains information about the update, such as the new dimensions and position of the viewport.
Implements:
Updates the viewport override for the UI elements layer based on the specified update context.
public virtual void UpdateViewPortOverride(UILayerUpdateContext context)
The context containing information about the UI layer update.