InterfaceIUILayer
Represents the interface for a UI layer in the RadRichTextBox.
Definition
Namespace:Telerik.Windows.Documents.UI.Layers
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public interface IUILayer
Properties
IsHitTestVisible
Gets or sets a value indicating whether this layer is visible to hit tests.
Declaration
bool IsHitTestVisible { get; set; }
Property Value
true if hit tests can interact with this layer; otherwise, false.
Name
Gets the name of the UI layer.
Declaration
string Name { get; }
Property Value
A string that represents the name of the layer.
ShouldClip
Determines whether the UI layer should clip its content.
ShouldUpdateWhenNotInvalidated
Determines whether the UI layer should be updated when it has not been invalidated.
Methods
ArrangeChildren()
Arranges the child elements of the UI layer.
Declaration
void ArrangeChildren()
ClearChildren()
Removes all child elements from the user interface layer.
Declaration
void ClearChildren()
DoOnPresentationChanged()
Executes an action when the presentation has changed.
Declaration
void DoOnPresentationChanged()
GetLayerUIElement()
Retrieves the UI element associated with the current layer.
Declaration
UIElement GetLayerUIElement()
Returns
UIElement
The UI element that represents the layer, or null if no element is associated.
UpdateViewPort(UILayerUpdateContext)
Updates the viewport of the UI layer based on the specified update context.
Declaration
void UpdateViewPort(UILayerUpdateContext context)
Parameters
context
An instance of UILayerUpdateContext that contains the information needed to update the viewport.