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

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

Constructors

C#
public ContentControlsDecorationLayer()

Properties

Gets the name of the content controls decoration layer.

C#
public override string Name { get; }
Property Value:

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

Overrides: DecorationUILayerBase.Name

Methods

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

C#
public UIElement CreateUIElement(ContentControlState state)
Parameters:stateContentControlState

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.

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

C#
public override void UpdateUIViewPortOverride(UILayerUpdateContext context)
Parameters:contextUILayerUpdateContext

The context that provides information about the update operation.

Overrides: DecorationUILayerBase.UpdateUIViewPortOverride(UILayerUpdateContext)