Class
ContentControlsDecorationLayer

Represents a layer that handles the decoration of content controls in the Telerik UI. This layer is responsible for rendering visual elements that enhance the user interface experience for content controls, such as borders, shadows, and other graphical enhancements.

Definition

Namespace:Telerik.Windows.Documents.UI.Layers

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ContentControlsDecorationLayer : DecorationUILayerBase, IUILayer

Inheritance: objectDecorationUILayerBaseContentControlsDecorationLayer

Implements: IUILayer

Inherited Members DecorationUILayerBase.ClearChildren()DecorationUILayerBase.ArrangeChildren()DecorationUILayerBase.GetLayerUIElement()DecorationUILayerBase.DoOnPresentationChanged()DecorationUILayerBase.UpdateViewPort(UILayerUpdateContext)DecorationUILayerBase.AddDecorationElement(UIElement)DecorationUILayerBase.Clear()DecorationUILayerBase.OnDocumentChanging()DecorationUILayerBase.OnDocumentChanged()DecorationUILayerBase.ShouldUpdateWhenNotInvalidatedDecorationUILayerBase.ShouldClipDecorationUILayerBase.IsHitTestVisibleDecorationUILayerBase.Document

Constructors

ContentControlsDecorationLayer()

Declaration

cs-api-definition
public ContentControlsDecorationLayer()

Properties

Name

Gets the name of the content controls decoration layer.

Declaration

cs-api-definition
public override string Name { get; }

Property Value

string

The name of the content controls decoration layer, represented as a string.

Overrides DecorationUILayerBase.Name

Methods

CreateUIElement(ContentControlState)

Creates a UI element representation for a specified content control state.

Declaration

cs-api-definition
public UIElement CreateUIElement(ContentControlState state)

Parameters

state

ContentControlState

The state of the content control for which the UI element is being created.

Returns

UIElement

The created UI element that corresponds to the given content control state.

UpdateUIViewPortOverride(UILayerUpdateContext)

Updates the user interface viewport override for the content controls decoration layer.

Declaration

cs-api-definition
public override void UpdateUIViewPortOverride(UILayerUpdateContext context)

Parameters

context

UILayerUpdateContext

The context that provides information about the update operation.

Overrides DecorationUILayerBase.UpdateUIViewPortOverride(UILayerUpdateContext)