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

Represents a provider for UI-based text decorations in the Telerik document handling framework.

Definition

Namespace:Telerik.Windows.Documents.UI.TextDecorations.DecorationProviders

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public interface IDecorationUIProvider

Derived Classes: DoubleLineDecorationLineDecorationNoneLineDecorationThickLineDecorationWaveDecoration

Methods

Creates a user interface element for a text decoration based on the specified rectangle and color.

C#
UIElement CreateDecorationUI(RectangleF currentRectangle, Color color)
Parameters:currentRectangleRectangleF

The rectangle that defines the area for the decoration UI.

colorColor

The color of the decoration UI.

Returns:

UIElement

A UI element that represents the text decoration.