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

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:

C#
public class WaveDecoration : IUnderlineUIDecorationProvider, IDecorationUIProvider

Inheritance: objectWaveDecoration

Implements: IDecorationUIProviderIUnderlineUIDecorationProvider

Constructors

C#
public WaveDecoration()

Methods

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

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

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

colorColor

The color of the wave decoration.

Returns:

UIElement

A UI element representing the wave decoration.

Implements: IDecorationUIProvider.CreateDecorationUI(RectangleF, Color)

Returns a string representation of the WaveDecoration instance.

C#
public override string ToString()
Returns:

string

A string that represents the current WaveDecoration instance.

Overrides: object.ToString()