ClassUIElementsLayer
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
Declaration
public Canvas container
Field Value
Canvas
Properties
CurrentUpdateContext
Gets the current update context for the UI elements layer.
Declaration
public UILayerUpdateContext CurrentUpdateContext { get; }
Property Value
IsHitTestVisible
Gets or sets a value indicating whether the layer can receive hit test queries.
Declaration
public bool IsHitTestVisible { get; set; }
Property Value
True if the layer is hit test visible; otherwise, false.
Implements
Name
Gets the name of the UIElementsLayer.
ShouldClip
Determines whether the UI elements within the layer should be clipped.
Declaration
public virtual bool ShouldClip { get; }
Property Value
Implements
ShouldUpdateWhenNotInvalidated
Determines whether the UI elements layer should be updated when it has not been invalidated.
Declaration
public virtual bool ShouldUpdateWhenNotInvalidated { get; }
Property Value
Implements
Methods
AddChild(UIElement)
Adds a child UIElement to the UIElementsLayer.
Declaration
public void AddChild(UIElement uiElement)
Parameters
uiElement
UIElement
The UIElement to be added as a child.
ArrangeChildren()
Arranges the child elements of the UI elements layer.
Declaration
public virtual void ArrangeChildren()
Implements
ClearChildren()
Removes all child elements from the UIElementsLayer.
Declaration
public void ClearChildren()
Implements
ClearLayerOverride()
Declaration
protected virtual void ClearLayerOverride()
DoOnPresentationChanged()
Executes a specified action when the presentation is changed.
Declaration
public virtual void DoOnPresentationChanged()
Implements
GetLayerUIElement()
Retrieves the UI element associated with the UIElementsLayer.
Declaration
public UIElement GetLayerUIElement()
Returns
UIElement
The UI element associated with the current layer, or null if no element is associated.
Implements
UpdateViewPort(UILayerUpdateContext)
Updates the viewport of the UI elements layer based on the specified update context.
Declaration
public void UpdateViewPort(UILayerUpdateContext context)
Parameters
context
The context that contains information about the update, such as the new dimensions and position of the viewport.
Implements
UpdateViewPortOverride(UILayerUpdateContext)
Updates the viewport override for the UI elements layer based on the specified update context.
Declaration
public virtual void UpdateViewPortOverride(UILayerUpdateContext context)
Parameters
context
The context containing information about the UI layer update.