Class
WaveDecoration

Represents the wave decoration provider used for text styling in UI documents.

Definition

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

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class WaveDecoration : IUnderlineUIDecorationProvider, IDecorationUIProvider

Inheritance: objectWaveDecoration

Implements: IDecorationUIProviderIUnderlineUIDecorationProvider

Constructors

WaveDecoration()

Declaration

cs-api-definition
public WaveDecoration()

Methods

CreateDecorationUI(RectangleF, Color)

Creates a user interface element for a wave decoration based on the specified dimensions and color.

Declaration

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

Parameters

currentRectangle

RectangleF

The dimensions of the rectangle in which the decoration will be created.

color

Color

The color of the wave decoration.

Returns

UIElement

A UI element representing the wave decoration.

Implements IDecorationUIProvider.CreateDecorationUI(RectangleF, Color)

ToString()

Returns a string representation of the WaveDecoration instance.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the current WaveDecoration instance.

Overrides object.ToString()