Interface
IDecorationUIProvider

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:

cs-api-definition
public interface IDecorationUIProvider

Methods

CreateDecorationUI(RectangleF, Color)

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

Declaration

cs-api-definition
UIElement CreateDecorationUI(RectangleF currentRectangle, Color color)

Parameters

currentRectangle

RectangleF

The rectangle that defines the area for the decoration UI.

color

Color

The color of the decoration UI.

Returns

UIElement

A UI element that represents the text decoration.