Interface
IUILayer

Represents the interface for a UI layer in the RadRichTextBox.

Definition

Namespace:Telerik.Windows.Documents.UI.Layers

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public interface IUILayer

Properties

IsHitTestVisible

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

Declaration

cs-api-definition
bool IsHitTestVisible { get; set; }

Property Value

bool

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

Name

Gets the name of the UI layer.

Declaration

cs-api-definition
string Name { get; }

Property Value

string

A string that represents the name of the layer.

ShouldClip

Determines whether the UI layer should clip its content.

Declaration

cs-api-definition
bool ShouldClip { get; }

Property Value

bool

ShouldUpdateWhenNotInvalidated

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

Declaration

cs-api-definition
bool ShouldUpdateWhenNotInvalidated { get; }

Property Value

bool

Methods

ArrangeChildren()

Arranges the child elements of the UI layer.

Declaration

cs-api-definition
void ArrangeChildren()

ClearChildren()

Removes all child elements from the user interface layer.

Declaration

cs-api-definition
void ClearChildren()

DoOnPresentationChanged()

Executes an action when the presentation has changed.

Declaration

cs-api-definition
void DoOnPresentationChanged()

GetLayerUIElement()

Retrieves the UI element associated with the current layer.

Declaration

cs-api-definition
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

cs-api-definition
void UpdateViewPort(UILayerUpdateContext context)

Parameters

context

UILayerUpdateContext

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