Interface IUILayer
Represents the interface for a UI layer in the RadRichTextBox.
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
System.Boolean
|
Name
Gets the name of the UI layer.
Declaration
string Name { get; }
Property Value
System.String
A string that represents the name of the layer. |
ShouldClip
Determines whether the UI layer should clip its content.
Declaration
bool ShouldClip { get; }
Property Value
System.Boolean
|
ShouldUpdateWhenNotInvalidated
Determines whether the UI layer should be updated when it has not been invalidated.
Declaration
bool ShouldUpdateWhenNotInvalidated { get; }
Property Value
System.Boolean
|
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
System.Windows.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
UILayerUpdateContext
context
An instance of UILayerUpdateContext that contains the information needed to update the viewport. |