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

IUILayer

Interface

Represents the interface for a UI layer in the RadRichTextBox.

Definition

Properties

Gets or sets a value indicating whether this layer is visible to hit tests.

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

true if hit tests can interact with this layer; otherwise, false.

Gets the name of the UI layer.

C#
string Name { get; }
Property Value:

A string that represents the name of the layer.

Determines whether the UI layer should clip its content.

C#
bool ShouldClip { get; }

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

C#
bool ShouldUpdateWhenNotInvalidated { get; }

Methods

Arranges the child elements of the UI layer.

C#
void ArrangeChildren()

Removes all child elements from the user interface layer.

C#
void ClearChildren()

Executes an action when the presentation has changed.

C#
void DoOnPresentationChanged()

Retrieves the UI element associated with the current layer.

C#
UIElement GetLayerUIElement()
Returns:

UIElement

The UI element that represents the layer, or null if no element is associated.

Updates the viewport of the UI layer based on the specified update context.

C#
void UpdateViewPort(UILayerUpdateContext context)
Parameters:contextUILayerUpdateContext

An instance of UILayerUpdateContext that contains the information needed to update the viewport.