New to Telerik UI for WinForms? Start a free 30-day trial

IUILayer

Interface

Defines a document UI layer that updates and arranges its visual elements for a presenter.

Definition

Namespace:Telerik.WinForms.Documents.UI.Layers

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public interface IUILayer

Properties

Gets or sets whether the layer's visual elements participate in hit testing.

C#
bool IsHitTestVisible { get; set; }

Gets the layer's identifier.

C#
string Name { get; }

Gets whether the presenter clips this layer to the displayed section's bounds.

C#
bool ShouldClip { get; }

Gets whether the presenter should update this layer even when it has not been invalidated.

C#
bool ShouldUpdateWhenNotInvalidated { get; }

Methods

Arranges the layer's current child elements.

C#
void ArrangeChildren()

Removes the layer's current child elements.

C#
void ClearChildren()

Notifies the layer that the document presentation has changed.

C#
void DoOnPresentationChanged()

Gets the root visual element hosted by the document presenter.

C#
UIElement GetLayerUIElement()
Returns:

UIElement

Updates the layer's visual elements for the supplied viewport context.

C#
void UpdateViewPort(UILayerUpdateContext context)
Parameters:contextUILayerUpdateContext

The presenter, viewport, and section data used during this update.